View previous topic :: View next topic |
Author |
Message |
tom_brown n00b
Joined: 28 Aug 2018 Posts: 3
|
Posted: Thu Aug 30, 2018 3:33 pm Post subject: DNS not working |
|
|
[Moderator note: this post, and the first two responses, were originally attached to Can ping and access Google but no other sites on internet. -Hu]
Hey guys, I've also having same issue here but I'm in same situation as kmb346, I don't have the /etc/conf.d/net file and neither echo "nameserver 8.8.8.8" >> /etc/resolv.conf is not working for me.
Any other ideas? Or kmb346 have you figure it out?
Thanks! |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Thu Aug 30, 2018 3:40 pm Post subject: |
|
|
does "ping 8.8.8.8" work?
Are you running openrc? and if so is netifrc installed? _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Aug 30, 2018 6:38 pm Post subject: |
|
|
try my network for dummies or open a thread for your problem, because obviously, your problem is not the same as him. |
|
Back to top |
|
|
saturnalia0 Tux's lil' helper
Joined: 13 Oct 2016 Posts: 134
|
Posted: Sun Sep 02, 2018 4:41 pm Post subject: |
|
|
resolv.conf supports a limited number of addresses (2, 3?) so echoing a new address to the end of the file does not necessarily mean it will be used.
Try `dig @8.8.8.8 google.com` or `nslookup google.com 8.8.8.8`. If those work, make a copy of the current resolv.conf and then overwrite it with just "nameserver 8.8.8.8", without quotes, then chattr +i /etc/resolv.conf. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21607
|
Posted: Sun Sep 02, 2018 5:08 pm Post subject: |
|
|
saturnalia0: please do not suggest using immutable files without explaining the consequences. |
|
Back to top |
|
|
|