Alexander V. Makartsev on Sat, 3 Apr 2021 01:17:59 +0500 wrote: "On 02.04.2021 22:56, Dan Norton wrote: Alexander V. Makartsev wrote Wed, 31 Mar 2021 10:16:08 +0500:
"Is "192.168.1.254" an IP address of your DSL modem? If you don't need to resolve hostnames from you local network, like "somepc1.attlocal.net" and only want to access the Internet, you can configure one or more of the public DNS servers. From Google [1]: 8.8.8.8 8.8.4.4 >From CloudFlare [2]: 1.1.1.1" I don't know. I did not put that line in /etc/resolv.conf. When I get more time I may remove it and see what happens. If you didn't put that line in /etc/resolv.conf, then probably it was configured by DHCP client, which used the information send by your DSL modem. That would explain "attlocal.net" lines. Do you have administrative access to your DSL modem's configuration web interface? Or is it a leased device that was configured by your ISP and you don't have the option to configure it?" The modem is leased from my ISP. It was installed by an AT&T employee contracted by the ISP. It's possible he configured it but I don't know. Alexander also said: "If you have the access to DSL modem, you can configure its DHCP server to always send proper DNS server addresses, like "1.1.1.1", "8.8.8.8", instead of "192.168.1.254". Alternatively, and if you don't have the access to DSL modem, you can modify "dhclient.conf" file to effectively override name server addresses sent by your modem with known good ones. This procedure is described in Debian Wiki. [1] Basically, all you have to do is add at the end of the file this string: supersede domain-name-servers 1.1.1.1,1.0.0.1,8.8.8.8,8.8.4.4;" After looking at dhclient.conf and reading the comments, I decided to leave dhclient.conf alone remove the line: nameserver 192.168.1.254 from resolv.conf so that now: # cat /etc/resolv.conf domain attlocal.net search attlocal.net nameserver 1.1.1.1 nameserver 1.0.0.1 ...and this works very well. I like it because it cuts out more of google's monitoring of my browsing (I use Brave browser and DuckDuckGo). Now what about the first two lines? What purpose? Can I cut out AT&T also? ;) - Dan