On Sat, Sep 23, 2017 at 06:03:12PM -0700, Gary Roach wrote: > I have been trying for several day to get firefox to work on a newly > installed Debian Stretch system. It Seems that Firefox can't find a DNS > server. I am having the same problem with apt-get update. None of my mirrors > can be reached.
ls -ld /etc/resolv.conf cat /etc/resolv.conf dpkg -l resolvconf network-manager grep ^hosts: /etc/nsswitch.conf > Ping works just fine. pinging what? > I can't even reach the other computers > on my home network if I use their names. IP addresses work OK. LAN configuration can be done in several ways. For most small home LANs, you probably just want to put the IPs and hostnames in /etc/hosts on each machine. For larger or fancier setups, you can configure a private DNS server. > I have > installed resolvconf *shudder* I mean, unless this is a laptop or a tablet or a phone or something. Then it may be appropriate, because you might actually WANT your resolv.conf file to be rewritten every time the wind changes direction. For desktop machines with a static internal network configuration, it's an abomination. And unfortunately it's not the only malevolent fiend trying to usurp control of your resolv.conf file. There's also dhclient, and network-manager, and systemd-resolved, and who knows what else. See <https://www.cyberciti.biz/faq/dhclient-etcresolvconf-hooks/> for some of your options. Of course, before you can apply any of those suggestions, you have to seize back control of your resolv.conf file in the first place. Make sure it's a FILE and not a symlink, and put the correct content into it. Make sure name resolution works. Then choose your favorite solution to keep the file under YOUR control.

