Re: Routers and resolv.conf: [was: extremely slow to ssh out from my machine]
On Monday 28 February 2005 10:05, michael wrote:
> That almost makes complete sense to me (pls give me a pointer to more
> about 'serving names by proxy')
There's a similar package for debian itself, which will help your
understanding a lot: apt-cache show pdnsd
Basically, though, your router is listening for questions about domains from
your local network and passing them on to the original nameserver (the "proxy
dns", as your router calls it). When it gets an answer, it passes that
answer back to the computer. All the time, it's acting as if it did the work
itself, rather than asking the primary nameserver :)
> the prob is with the above set up there's several 5s pauses for ssh (see
> earlier/Jan msg) but if i put the proxyDNS into /etc/resolv.conf it
> works fine (but then /etc/resolv.conf is recreated each boot...)
Yeah, I was going to say that one possibility is your router's speed. It
could be very slow at proxying DNS, since they have slow chips in them, and
it's likely busy doing other things like actually routing packets. Putting
the proxyDNS into resolv.conf would be the obvious workaround for that.
If you want to make it permanent, you can change the configuration of your
dhcp client. The one I'm using, dhclient, has examples
in /etc/dhclient.conf. Have a read :)
--
Lee.
Reply to: