Ashley wrote:
I have changed the resolv.conf to show the main DNSs of my provider in every place I can find but still I have to manually edit it each time I start up and several times whilst I am on line as it changes back to the address of my modem/router.

Your router is supplying its address as the DNS server in the DHCP
response as it intends to do DNS forwarding.  Configure your router
with the ISP's domain name servers (although it probably got those
from its own DHCP on the ADSL interface) and let the router forward
your DNS queries to your ISP.  Your router does DNS forwarding as
it's a nice way to do firewall traversal for DNS packets and is
much more secure than letting DNS queries simply go through a
firewall (that is, you can regard the DNS forwarders as an
application-specific firewall for DNS and it can filter more attacks
than something that simply NATs packets). Some routers' DNS forwarders
will also do an amount of DNS caching and this can significantly
improve performance if the hosts do no caching of their own
(and many hosts don't, see nscd on Linux).

Better to do that then use dhclient.conf, since then your laptop
will work elsewhere (your ISP's DNS servers should not answer
queries sent to it from outside the ISP).
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to