You are not logged in.

#1 2018-03-09 04:28:15

SilverMight
Member
Registered: 2017-11-20
Posts: 25

DNS not working

So, I booted up my laptop for the first time in a few weeks, and saw that my internet wasn't working at all, then I realized it was just my DNS that was experiencing issues. I'm using NetworkManager if it matters - I can ping IP's from the internet and in my LAN, but any changes I've tried to do to fix DNS hasn't worked to any avail. I've tried using any network (multiple wifi networks and ethernet), and it hasn't worked.

I've modified my resolv.conf to try different DNS servers, and it still hasn't worked. For whatever reason, using drill seems to resolve fine. I'll be happy to provide more info if needed.

Offline

#2 2018-03-09 04:37:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: DNS not working

Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-03-09 05:19:23

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: DNS not working

What does your /etc/nsswitch.conf look like?

Offline

#4 2018-03-09 17:18:45

SilverMight
Member
Registered: 2017-11-20
Posts: 25

Re: DNS not working

# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.

passwd: files mymachines systemd
group: files mymachines systemd
shadow: files

publickey: files

hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

Offline

#5 2018-03-09 20:35:16

SilverMight
Member
Registered: 2017-11-20
Posts: 25

Re: DNS not working

After running resolvconf -u and setting my DNS servers, it appears to work fine

Offline

Board footer

Powered by FluxBB