BIND: How do I allow DNS query from specific external host?
- by krbvroc1
I'm running Centos 5.8 (bind 9.3.6).
Here is my issue... I run my own DNS server to serve the local machine.
I would like to use my DNS server from home. Since my home is a dynamic IP address, I am not sure how this would be accomplished.
In my named.conf, there is an allow-query{} and allow-recursion{}. It seems both of those take an IP address, but i need to specify a hostname (at least a cname). This is not a public DNS server (so any is not an option).
My hostname/cname is already updated automatically using nsupdate.
The only solution I can think of, which I do not like, is to change my nsupdate script
to somehow modify the named.conf to search/replace the allow-query/recursion IP address.
That would require restarting named whenever the hostname changes as well as
Is there some other way to handle this?