Comments (3)
You made my day!
Thanks a bunch.
I wasn't sure about the 2317 formatting issues... it looked like exception handling was able to appease netaddr, or at least tell it
yes, yes, I know... thank you...
and continue with the migration once the uone -> zone alteration was made:
(sed
to the 'rescue' ... well... admittedly sed's response was more akin to:
Are you kidding me? Really? You want me to do what?? sigh ... Okay fine...
)
root@pandora-01:/data/docker/overlay2# for file in `find . |grep 0018_zone_arpa_network.py`; do
sed -ie 's/uone.arpa_network/zone.arpa_network/' ${file};
rm "${file}e";
done
Is there a formatting standard that netaddr DOES consider valid for subnet notation?
IF SO, aligning to that might be the least painful way forward... seeing as this is the formatting arbiter in netbox, it's likely to bite us in other ways elsewhere... but... ¯\_(ツ)_/¯
from netbox-dns.
Hi @wolfspyre, thanks for the feedback!
Regarding the netaddr
stuff - just ignore it for the time being. The arpa_network
field in the model is there for the purpose of matching reverse zones to IPAM prefixes, and it will gain some functionality with RFC 2317 later on.
The current logic is: If the domain name of an .arpa
zone is a standard domain name for non-RFC 2317 delegation, derive the subnet from the name. If not, forget it. The main reason is that there is no standard for naming RFC 2317 zones (one of the aspects in which the RFC is rather sloppy), so there will not be a way to derive the subnet from the zone name. Essentially, you can name the zone whatever you want and just tell it explicitly which subnet it is for.
from netbox-dns.
sweet! well, cool! mischief managed.
from netbox-dns.
Related Issues (20)
- Tips and tricks regarding automating DNS update HOT 1
- Trying to edit a zone in the admin interface raises a TypeError exception
- Migration issue when directly upgrading netbox and plugin HOT 7
- Having a record with a TTL value of 'None' can cause downstream problems HOT 4
- Record name and zone name validation for Bind zone file generation HOT 17
- Wrong minimum NetBox version in README.md
- Deleting or renaming a name server does not remove or update the NS records pointing to it HOT 1
- MX record type limited to integer HOT 3
- Couldn't install HOT 3
- How this plugin works HOT 7
- The test workflow fails in GitHub
- Not compatible with NetBox 3.4.7 HOT 1
- GitHub complains about outdated node12 actions being used
- NetBox 3.5 is incompatible with NetBox DNS 0.17.0
- Filter by id HOT 3
- Netbox webhook does not work on zone update event HOT 7
- 🔥🔥🔥 NetBox DNS has moved to a new home 🔥🔥🔥 HOT 6
- nameserver array is empty in netbox {{ data }} context data on zone create event. HOT 11
- Nested DNS Zone 'active' field is None when querying a DNS Record HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbox-dns.