Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DNS not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tom_brown
n00b
n00b


Joined: 28 Aug 2018
Posts: 3

PostPosted: Thu Aug 30, 2018 3:33 pm    Post subject: DNS not working Reply with quote

[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
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Thu Aug 30, 2018 3:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu Aug 30, 2018 6:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
saturnalia0
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2016
Posts: 134

PostPosted: Sun Sep 02, 2018 4:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Sun Sep 02, 2018 5:08 pm    Post subject: Reply with quote

saturnalia0: please do not suggest using immutable files without explaining the consequences.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum