Hello all,
For background/context, I currently run a geographically-dispersed PowerDNS
infrastructure with a MySQL backend publicly, and then on a private network I
run PowerDNS Recursor for name resolution.
My router software is VyOs <https://www.vyos.io/>, which is the base OS on
which UniFi’s router software is based. It is set up to push out the IP
addresses for my PowerDNS Recursor servers with DHCP assignments. Recursor has
a single authoritative domain for which it uses a hand-coded zone file to serve
out the static IPs for all the known hostnames on the internal network. It
recurses all other domains.
I know that when hosts get DHCP assignments, they can tell the DHCP server what
their hostname is, and the DHCP server can do “something” with that. As much as
I know about DNS, I find myself not knowing what this protocol is called or how
it works. What I would like to do is add/update that host name to the
authoritative local domain. I don’t think I can do this with just Recursor (but
maybe I’m wrong). I think I will probably need to also run an Authoritative
server and point Recursor to that server for the local domain.
What I am looking for are any suggestions, tutorials, documentation, or
write-ups about how to do this. I think I can probably hack a non-standard
solution with a Lua script that runs on my router to execute a command to
update a host MySQL record every time a DHCP assignment happens, but I am
hoping that there is an accepted/standard/common way of doing this that I don’t
know about.
Thoughts?
Thanks,
Nick
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users