View previous topic :: View next topic |
Author |
Message |
groovy12 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/208744819244b126b361b79.jpg)
Joined: 05 Feb 2006 Posts: 127
|
Posted: Wed Mar 22, 2006 7:38 pm Post subject: nameserver question |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
kg n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 17 May 2003 Posts: 55 Location: Not where I want to be
|
Posted: Thu Mar 23, 2006 5:10 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|