In my setup Internet connections are sometimes apparently slow and
sometimes fail DNS lookup. The problem turned out to be because the
default /etc/resolv.conf used the ADSL Modem/Router as the
DNS (and this file was updated automatically at around 9:30am each day
Changing it back to:
fixes the DNS problems. The router seems to correctly identify the
DNS itself (126.96.36.199) but somewhere things don't work. This is
overridden in /etc/dhcp3/dhclient.conf by adding the two lines:
send host-name "athene.togaware.com";
supersede domain-name-servers 188.8.131.52;
Perhaps the router is smart enough to do local DNS with athens mapped
appropriately? If so, then don't need the static (but possibly
changing) entries in /etc/hosts.
Copyright © 1995-2019 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of open
source software including Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials
of Data Science.