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 +4 -1
- netbox_dns/signals/ipam_dnssync.py +3 -0
- {netbox_plugin_dns-1.1.6.dist-info → netbox_plugin_dns-1.1.7.dist-info}/METADATA +1 -1
- {netbox_plugin_dns-1.1.6.dist-info → netbox_plugin_dns-1.1.7.dist-info}/RECORD +7 -7
- {netbox_plugin_dns-1.1.6.dist-info → netbox_plugin_dns-1.1.7.dist-info}/WHEEL +1 -1
- {netbox_plugin_dns-1.1.6.dist-info → netbox_plugin_dns-1.1.7.dist-info}/LICENSE +0 -0
- {netbox_plugin_dns-1.1.6.dist-info → netbox_plugin_dns-1.1.7.dist-info}/top_level.txt +0 -0
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.
|
|
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,4 +1,4 @@
|
|
|
1
|
-
netbox_dns/__init__.py,sha256=
|
|
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=
|
|
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.
|
|
150
|
-
netbox_plugin_dns-1.1.
|
|
151
|
-
netbox_plugin_dns-1.1.
|
|
152
|
-
netbox_plugin_dns-1.1.
|
|
153
|
-
netbox_plugin_dns-1.1.
|
|
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,,
|
|
File without changes
|
|
File without changes
|