How to allow set Host file dns query priorities in BIND
Kevin Darcy
kcd at chrysler.com
Wed Feb 23 17:29:39 UTC 2011
On 2/23/2011 4:08 AM, babu dheen wrote:
> Hi,
> Our setup is; We have internal DNS server wherein BIND is configured
> in RHEL 5 and many internal zones are configured. if Internet
> connection is down, our Internal DNS severs are not able to get the
> DNS query from ISP DNS server. Because of this, all users are not able
> to access many critical application hosted in internet.
> Now we would like to add those critical applicaton DNS entries in our
> internal DNS server HOST file. So that if internet link is down, users
> will be able to get the IP address of the URL through host file.
>
If the names of these "critical applications" reside in zones that you
own, you should probably set yourself up as a stealth slave for those
zones. If they're in someone else's zones, and being a stealth slave is
impractical, then you could play a dangerous game by maintaining a
"fake" version of the zone yourself (defined as "master"). Dangerous
because the IPs could change without any notice and then your data is
instantly invalid. But, I suppose that isn't any worse than hosts-file
entries, right?
> is there any option in BIND to give priority to HOST file before
> connecting it to internet ISP or local zone?
>
Nope, BIND doesn't control whether a process looks in the hosts file or not.
- Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20110223/bd3e91c7/attachment.html>
More information about the bind-users
mailing list