How to integrate with DNS? #12722
Replies: 6 comments 2 replies
-
You'll find that NetBox doesn't have any native tooling to synchronize the data stored in the NetBox database with the "real world". That's deliberate because there's such a variety of systems out there that it would be an impossible task. netbox-plugin-dns just keeps DNS records in the NetBox database. There are places in NetBox for entering DNS names but the native support is very limited. You'll need to look at 3rd party solutions to synchronize the records stored in NetBox with your DNS server. Since you mentioned RDP I think that it's likely that you are using Microsoft's DNS server. I'm not aware of any existing tools that can synchronize with Microsoft's DNS server. You might start with OctoDNS and see if there's anything available there. Or if you're willing to switch to a different DNS server OctoDNS would be a good place to start. |
Beta Was this translation helpful? Give feedback.
-
I haven't used netbox-plugin-dns but a look through the docs shows some example templates for generating BIND zonefile format from the database using Ansible, so running a local hidden-authoritative ISC BIND DNS service that your Windows DNS service replicates from using native DNS zone replication should be straightforward to setup.
So to answer your question, yes it just stores the relevant information in the database and you have to put together the integration piece yourself. It looks like there is another plugin which just does dynamic dns updates based on the ip-address dns_name field, if that simplified workflow would be good enough. Also I think the plugin you found is may be related to https://github.com/auroraresearchlab/netbox-dns
—
Mark Tinberg ***@***.***>
Division of Information Technology-Network Services
University of Wisconsin-Madison
…________________________________
From: Jeffrey C. Ollie ***@***.***>
Sent: Thursday, May 25, 2023 2:58 PM
To: netbox-community/netbox ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [netbox-community/netbox] How to integrate with DNS? (Discussion #12722)
You'll find that NetBox doesn't have any native tooling to synchronize the data stored in the NetBox database with the "real world". That's deliberate because there's such a variety of systems out there that it would be an impossible task. netbox-plugin-dns just keeps DNS records in the NetBox database. There are places in NetBox for entering DNS names but the native support is very limited.
You'll need to look at 3rd party solutions to synchronize the records stored in NetBox with your DNS server. Since you mentioned RDP I think that it's likely that you are using Microsoft's DNS server. I'm not aware of any existing tools that can synchronize with Microsoft's DNS server. You might start with OctoDNS and see if there's anything available there. Or if you're willing to switch to a different DNS server OctoDNS would be a good place to start.
—
Reply to this email directly, view it on GitHub<#12722 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAS7UM5WECEWVN3B3INAFB3XH62XRANCNFSM6AAAAAAYPJNREE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
See also peteeckel/netbox-plugin-dns#19 regarding the idea behind integration between NetBox DNS and actual DNS implementations - much along the lines of what @jcollie already pointed out. |
Beta Was this translation helpful? Give feedback.
-
Thank you all for your suggestions and quick replies. I will continue my discussion over on the netbox-plugin-dns page. |
Beta Was this translation helpful? Give feedback.
-
At home, I use this script I cobbled together to send dynamic DNS updates from Netbox: It only uses the |
Beta Was this translation helpful? Give feedback.
-
I made this small script which syncs NetBox |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am looking for an IPAM solution that can integrate into DNS. What I mean by this is any IPAM host I add, the hostname will create an A/AAAA + PTR record somewhere. That somewhere could be a local DNS server running on the host (like what PHPIPAM does with pdns), or from afar (manage some MS or bind instance).
Does Netbox support this?
I found this plugin (https://github.com/peteeckel/netbox-plugin-dns), but its not clear if this plugin is just an overlay to keep track of records or if it actually goes out and makes changes to a DNS server. If so how do I integrate?
Hope there is a way to do this. We want to avoid having people RDP into our DNS servers to create records, using NetBox would be great alternative solution!
Beta Was this translation helpful? Give feedback.
All reactions