BIND: How do I allow DNS query from specific external host?
Posted
by
krbvroc1
on Server Fault
See other posts from Server Fault
or by krbvroc1
Published on 2012-10-25T15:55:07Z
Indexed on
2012/10/25
23:03 UTC
Read the original article
Hit count: 154
bind
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?
© Server Fault or respective owner