Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nameserver question
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
groovy12
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 127

PostPosted: Wed Mar 22, 2006 7:38 pm    Post subject: nameserver question Reply with quote

how do i add nameserver to /etc/resolv.conf so that it sticks there?

everytime i add something and restart connection, its reset to

Quote:

# generated automatically by net-scripts
nameserver 10.0.1.1


thanks..
Back to top
View user's profile Send private message
kg
n00b
n00b


Joined: 17 May 2003
Posts: 55
Location: Not where I want to be

PostPosted: Thu Mar 23, 2006 5:10 am    Post subject: Reply with quote

You don't say if you are using dhcp or a static address (is the setting coming from your
dhcp server? or set in /etc/conf.d/net?).

If you are using wireless, take a gander at /etc/conf.d/net.example
down a ways in the wireless section.

Code:

# Setting name/domain server causes /etc/resolv.conf to be overwritten
# Note that if DHCP is used, and you want this to take precedence then
# set dhcp_ESSID="nodns"
#dns_servers_ESSID=( "192.168.0.1" "192.168.0.2" )
#dns_domain_ESSID="some.domain"
#dns_search_domains_ESSID="search.this.domain search.that.domain"
# Please check the man page for resolv.conf for more information
# as domain and search (searchdomains) are mutually exclusive and
# searchdomains takes precedence


Should at least get you pointed in the right direction.
_________________
If at first you don't succeed, try again. Then quit. No use being a damn fool about it. --W.C. Fields
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