netbox-plugin-dns 1.1.6__py3-none-any.whl → 1.1.7__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
@@ -7,7 +7,7 @@ from ipam.choices import IPAddressStatusChoices
7
7
 
8
8
  from netbox_dns.choices import RecordTypeChoices, RecordStatusChoices, ZoneStatusChoices
9
9
 
10
- __version__ = "1.1.6"
10
+ __version__ = "1.1.7"
11
11
 
12
12
 
13
13
  def _check_list(setting):
@@ -20,6 +20,7 @@ class DNSConfig(PluginConfig):
20
20
  verbose_name = _("NetBox DNS")
21
21
  description = _("NetBox plugin for DNS data")
22
22
  min_version = "4.0.0"
23
+ max_version = "4.1.99"
23
24
  version = __version__
24
25
  author = "Peter Eckel"
25
26
  author_email = "pete@netbox-dns.org"
@@ -51,6 +52,8 @@ class DNSConfig(PluginConfig):
51
52
  "tolerate_underscores_in_labels": False,
52
53
  "tolerate_underscores_in_hostnames": False, # Deprecated, will be removed in 1.2.0
53
54
  "tolerate_leading_underscore_types": [
55
+ RecordTypeChoices.CNAME,
56
+ RecordTypeChoices.DNAME,
54
57
  RecordTypeChoices.SRV,
55
58
  RecordTypeChoices.TLSA,
56
59
  RecordTypeChoices.TXT,
@@ -35,6 +35,9 @@ ENFORCE_UNIQUE_RECORDS = settings.PLUGINS_CONFIG["netbox_dns"]["enforce_unique_r
35
35
 
36
36
  @receiver(post_clean, sender=IPAddress)
37
37
  def ipam_dnssync_ipaddress_post_clean(instance, **kwargs):
38
+ if not instance.dns_name:
39
+ return
40
+
38
41
  if not isinstance(instance.address, IPNetwork):
39
42
  return
40
43
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: netbox-plugin-dns
3
- Version: 1.1.6
3
+ Version: 1.1.7
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=YgUMEXCXd__HFhGELHpKELWB_Qr6QNFsRXbu8DjZxEc,2767
1
+ netbox_dns/__init__.py,sha256=BRsZeRU5RkgBJz6NdRvDkTybuBbydv9jjZ2JgcVYg7o,2868
2
2
  netbox_dns/apps.py,sha256=JCW5eS-AQBUubDJve1DjP-IRFKTFGQh1NLGWzJpC5MI,151
3
3
  netbox_dns/navigation.py,sha256=T0-D3KKZLrKT9IuSp5Kh_j7yy-JuWT2b15nwEEJxoTg,6186
4
4
  netbox_dns/template_content.py,sha256=6iwVdApTF5kgz7snWp3nL7i8WcheTrJCeOU-G9XCuzI,4227
@@ -88,7 +88,7 @@ netbox_dns/models/view.py,sha256=5fAEzArYeUaU4uDougtJbwLwhPWb1Vm0xc3b9K4MsT0,470
88
88
  netbox_dns/models/zone.py,sha256=9-FAIzmpcj0iaBICT7JLKmPVCNMqQGSWS1khoorVsgE,32212
89
89
  netbox_dns/models/zone_template.py,sha256=tppEGZOuzedRgGQ700gezEVg2aTLnaCi_RVBSVO_tGQ,3908
90
90
  netbox_dns/signals/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
- netbox_dns/signals/ipam_dnssync.py,sha256=hyO1q4xKcuAoRCyWUzIdPYwsVgq4N9rp-PKb8hlJQkM,8226
91
+ netbox_dns/signals/ipam_dnssync.py,sha256=5lwf9O7cLmPqt2DyV6T8HGJgtxYVORIJ8dAw5nBLpzc,8272
92
92
  netbox_dns/tables/__init__.py,sha256=axENVF9vX9BtDKCNxrapRjye1NnygUg9BS0BBj6a0io,209
93
93
  netbox_dns/tables/ipam_dnssync.py,sha256=7IK95XlA2ter6gsHqXjXPd6WubpOxrV-O5-UT6R1CKU,330
94
94
  netbox_dns/tables/nameserver.py,sha256=Ue1ZTygkgifWbQxvnpIG4PIC2qIWfVZaX_g8OIrRd6Q,739
@@ -146,8 +146,8 @@ netbox_dns/views/registration_contact.py,sha256=nxWAPNgu6JiKZjSPPV44AL9esLdbOFN3
146
146
  netbox_dns/views/view.py,sha256=5GB_HAXAJwqKm8KGl5XnogqhcLD-7UHoBlSP6KbBJwg,2933
147
147
  netbox_dns/views/zone.py,sha256=wU87Ixd5VJfLlmyd9_yMlqjBKWy9MS8hU-inuo4-2Rg,6734
148
148
  netbox_dns/views/zone_template.py,sha256=SWU-HcbaJ4xo0QFmh24SLomgfM8YTjizIqP-Rlpti74,2156
149
- netbox_plugin_dns-1.1.6.dist-info/LICENSE,sha256=I3tDu11bZfhFm3EkV4zOD5TmWgLjnUNLEFwrdjniZYs,1112
150
- netbox_plugin_dns-1.1.6.dist-info/METADATA,sha256=eHCZqc4cgIxs5xXqqK6MM89P6z5ZX47SIxovO2BzDcQ,7223
151
- netbox_plugin_dns-1.1.6.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
152
- netbox_plugin_dns-1.1.6.dist-info/top_level.txt,sha256=sA1Rwl1mRKvMC6XHe2ylZ1GF-Q1NGd08XedK9Y4xZc4,11
153
- netbox_plugin_dns-1.1.6.dist-info/RECORD,,
149
+ netbox_plugin_dns-1.1.7.dist-info/LICENSE,sha256=I3tDu11bZfhFm3EkV4zOD5TmWgLjnUNLEFwrdjniZYs,1112
150
+ netbox_plugin_dns-1.1.7.dist-info/METADATA,sha256=QY979zxeO_RQ6n0XgR138CRJSJc9msL5Ui5-UdoEyWc,7223
151
+ netbox_plugin_dns-1.1.7.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
152
+ netbox_plugin_dns-1.1.7.dist-info/top_level.txt,sha256=sA1Rwl1mRKvMC6XHe2ylZ1GF-Q1NGd08XedK9Y4xZc4,11
153
+ netbox_plugin_dns-1.1.7.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.7.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5