NetBox DNS 1.1.0 #388
peteeckel
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
NetBox DNS Release 1.1.0
This release of NetBox DNS focuses on the introduction of the new 'IPAM DNSsync' feature, which replaces the experimental 'IPAM Coupling' feature.
Breaking change
When NetBox DNS 1.1.0 is installed, IPAM Coupling will no longer work.
If you depend on IPAM Coupling, do not upgrade to NetBox DNS 1.1.0 or later, but stay with the NetBox 1.0.x release series.
NetBox 1.0.x will continue to work with NetBox 4.1.x for the foreseeable future, providing a time window to migrate away from IPAM Coupling.
IPAM Coupling is deprecated and will be removed with the release of NetBox 4.2, expected in spring 2025.
Migrate from IPAM Coupling to IPAM DNSsync
While the general goal of providing synchronised DNS address and pointer records for IPAM IP address objects is shared between both features, the mechanisms for achieving this goal are very different. While IPAM Coupling relies essentially on manually defining in which zone a record should be generated for a given IP address, the zone selection in IPAM DNSsync is fully automated and based on mappings between IPAM prefixes and DNS views.
As a result, there is no direct and automated migration path between IPAM Coupling and DNSsync.
Compatibility
However, care has been taken, to minimise the loss of information from IPAM Coupling as possible when migrating to IPAM DNSsync:
netbox_dns_records
from IP addresses to DNS records andipam_ipaddress
in the opposite direction are also identical between both features, so scripts and automations based on API data should need minimal changes at most. One difference is that now an IP address can now have links to multiple address records, whereas with IPAM Coupling there could only be one address record per address.Migration steps
The best way to migrate from IPAM Coupling to IPAM DNSsync depends on how your data is organized in IPAM and NetBox DNS, especially on the size and number of prefixes and the structure of DNS views and zones.
When creating address records for a large number of IP addresses in one go, there almost certainly will be GUI timeouts while the reverse proxy is waiting for the backend to process the data. Unfortunately there isn't much that can be done to speed up that process. Make sure your database is well-tuned and your machine has enough CPU and RAM, though RAM will be more essential than CPU in most cases.
/opt/netbox/netbox/manage.py setup_dnssync
to clean up old custom fields from IPAM Coupling and create the new custom field that can be used to disable DNS record creationThanks and Acknowledgements
This new feature was in the making for a very long time, and it would not have been possible without the community. The biggest thank-you goes out to @jean1, who contributed the original code of IPAM Coupling, which constituted the very starting point for the evolution that led to the release of IPAM DNSsync.
There have also been many other community members who contributed suggestions for improvement, ideas, bug reports, more or less exotic use cases, criticism and encouragement, on GitHub by mail or in person. Naming just some would be unfair to the rest, so you know who you are - thank you all!
Beta Was this translation helpful? Give feedback.
All reactions