cahe-only DNS in jail
GiZmen
gizmen at bsdguru.org
Thu Feb 3 12:27:36 PST 2005
> I'm experiencing strange behaviour with Bind running inside a jail. I'm
> running 5.2.1 current in the jail. Thinks are working, but poorly.
> Lookups for my local machines work perfectly. Some remote lookups work
> fine (yahoo, google, etc...). However, many lookups time out, but will
> succeed after a few tries. I'm doing all this from home (comcast cable
> internet). Anyway, I'm not sure what to do. Sniffing the network
> doesn't seem to help much. Queries and requests are reaching the right
> hosts and ports. Thanks for any help.
>
---end quoted text---
I have had similar problem with my named. I was searching reason of this
behaviour of my named. I have put one option to my named.
It is forwarders option.
forward only;
forwarders {156.17.5.2;};
You can add forward only this only forward queries to your comcast
caching dns servers.
In forwarders put one or more ip addresses of your comcast caching
servers.
The reaseon of this is that named try to contact to authorative servers.
And it can take some time to get respond from them.
but if you put forwardes you will be using closer dns so the queries
will be faster.
Form more reference read bind manual.
bye
--
Best Regards:
GiZmen
UNIX is user-friendly; it's just picky about its friends
UNIX is simple; it just takes a genius to understand its simplicity
More information about the freebsd-hackers
mailing list