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: 5097 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, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie) amd64-no-multilib, eudev, openrc, openbox
The New OTW |
|
Back to top |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7468
|
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: 96
|
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: 16649
|
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 |
|
 |
|