netbox-plugin-dns 1.3.3__py3-none-any.whl → 1.3.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of netbox-plugin-dns might be problematic. Click here for more details.

netbox_dns/__init__.py CHANGED
@@ -4,7 +4,7 @@ from django.core.exceptions import ImproperlyConfigured
4
4
  from netbox.plugins import PluginConfig
5
5
  from netbox.plugins.utils import get_plugin_config
6
6
 
7
- __version__ = "1.3.3"
7
+ __version__ = "1.3.4"
8
8
 
9
9
 
10
10
  def _check_list(setting):
@@ -227,10 +227,15 @@ def delete_dns_records(ip_address, view=None):
227
227
  # TODO: Find something better. This is really awful.
228
228
  # -
229
229
  address_records = Record.objects.filter(
230
- type__in=(RecordTypeChoices.A, RecordTypeChoices.AAAA),
231
- managed=True,
232
- ip_address=ip_address.address.ip,
233
- ipam_ip_address__isnull=True,
230
+ Q(
231
+ Q(ipam_ip_address=ip_address)
232
+ | Q(
233
+ type__in=(RecordTypeChoices.A, RecordTypeChoices.AAAA),
234
+ managed=True,
235
+ ip_address=ip_address.address,
236
+ ipam_ip_address__isnull=True,
237
+ )
238
+ ),
234
239
  )
235
240
 
236
241
  if view is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: netbox-plugin-dns
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: NetBox DNS is a NetBox plugin for managing DNS data.
5
5
  Author-email: Peter Eckel <pete@netbox-dns.org>
6
6
  Project-URL: Homepage, https://github.com/peteeckel/netbox-plugin-dns
@@ -1,4 +1,4 @@
1
- netbox_dns/__init__.py,sha256=MVztNOPEPnEVgDW3bm96rasp3q0E34dt-SgScdi7_Lg,4890
1
+ netbox_dns/__init__.py,sha256=7cUgAlRJDPqry-F9FMUjy3q8pMPXMG4GQMeEIDpZmaY,4890
2
2
  netbox_dns/apps.py,sha256=JCW5eS-AQBUubDJve1DjP-IRFKTFGQh1NLGWzJpC5MI,151
3
3
  netbox_dns/navigation.py,sha256=ZF2-bKRfuxXnLArSCvozyRXRd7GME14sVJZdmDEMhBk,7741
4
4
  netbox_dns/template_content.py,sha256=nwjbWkMc02vpTmcFQdiAA1TdopJiZ0MkRy6qa18_wLI,4848
@@ -171,7 +171,7 @@ netbox_dns/templatetags/netbox_dns.py,sha256=DND1DMPzv636Rak3M6Hor_Vw6pjqUfSTquo
171
171
  netbox_dns/utilities/__init__.py,sha256=cSGf-nGaRWx9b-Xrh3dLMJYoWNsZ6FF-qdmV4F1uOgg,74
172
172
  netbox_dns/utilities/conversions.py,sha256=qYnzecmR28l8Je_H0vFvzJ2sikTiEiyxr6drl_aRocg,3016
173
173
  netbox_dns/utilities/dns.py,sha256=UBiyQe8thiOTnKOmU9e2iRHHnGF9toVLe4efU623kX4,322
174
- netbox_dns/utilities/ipam_dnssync.py,sha256=cJ1P1RuLE_MmlF7yHuLXiv5TNBtinzj2dL7U4S7eAWw,10318
174
+ netbox_dns/utilities/ipam_dnssync.py,sha256=IB26jxdijjjkcRj5JTV2We3frqbfzBXhPb3xegRQg0w,10462
175
175
  netbox_dns/validators/__init__.py,sha256=X0hPZlC3VZcXMcvXKZ2_5LSoEJdXPNSBr4QtEIFSBJ0,94
176
176
  netbox_dns/validators/dns_name.py,sha256=1MKnYAmkSTIQGf6zInqkpbIj5SCeCM0YGKmYOqFzUK4,3770
177
177
  netbox_dns/validators/dns_value.py,sha256=cADhgTohXAtOLPzaoMKO9DahEUiDanpdiuKonrwFw0E,5278
@@ -188,8 +188,8 @@ netbox_dns/views/registration_contact.py,sha256=5bJWjNBisqCkBo6d2TJyyBJlc95WM7Vc
188
188
  netbox_dns/views/view.py,sha256=xLXt7sKrda3FpNXsBSJk8L8P2XhZ1sVb5OOXovCsKEU,3089
189
189
  netbox_dns/views/zone.py,sha256=rxf0ETFnBF88JbhxUZWtcid_CAm7tssYfp2EFjk7zyg,7160
190
190
  netbox_dns/views/zone_template.py,sha256=5P9DT3XBRL-TiM5zFhBTMlMusL4bP2jTu3GHxKz5ojc,2553
191
- netbox_plugin_dns-1.3.3.dist-info/licenses/LICENSE,sha256=I3tDu11bZfhFm3EkV4zOD5TmWgLjnUNLEFwrdjniZYs,1112
192
- netbox_plugin_dns-1.3.3.dist-info/METADATA,sha256=UIlvFMPfFbgR1wHgZSwJNmjmqIjKbDKFSjRPkrB8G50,7787
193
- netbox_plugin_dns-1.3.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
194
- netbox_plugin_dns-1.3.3.dist-info/top_level.txt,sha256=sA1Rwl1mRKvMC6XHe2ylZ1GF-Q1NGd08XedK9Y4xZc4,11
195
- netbox_plugin_dns-1.3.3.dist-info/RECORD,,
191
+ netbox_plugin_dns-1.3.4.dist-info/licenses/LICENSE,sha256=I3tDu11bZfhFm3EkV4zOD5TmWgLjnUNLEFwrdjniZYs,1112
192
+ netbox_plugin_dns-1.3.4.dist-info/METADATA,sha256=wbc1V3I53MwepXrnhT2D4Q1v39PpOccje8VlP6DjKqw,7787
193
+ netbox_plugin_dns-1.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
194
+ netbox_plugin_dns-1.3.4.dist-info/top_level.txt,sha256=sA1Rwl1mRKvMC6XHe2ylZ1GF-Q1NGd08XedK9Y4xZc4,11
195
+ netbox_plugin_dns-1.3.4.dist-info/RECORD,,