| Author |
Message |
|
|
Post subject: siduxcc writes nameserver adresses to wrong file
Posted: May 04, 2008 - 09:33 PM
|
|
Joined: Feb 24, 2007
Posts: 40
Status: Offline
|
|
siduxcc writes any given nameserver into the file
/etc/resolve.conf
This is not the right place, it should be written to
/etc/resolvconf/resolv.conf.d/base
instead, in order to let the entry not beeing overwritten on every next reboot, making it necessery to use siduxcc again and again.
I entered the line manually into the base file, and it comes up in siduxcc after next restart of the interface, since resolvconf uses this file to create the /etc/resolve.conf according to the actual needs (e.g. switching to dhcp when demanded). The static nameservers stay untouched in the base file until they are needed again.
Greetings
Ron. |
|
|
| |
|
|
|
 |
|
|
Post subject: Re: siduxcc writes nameserver adresses to wrong file
Posted: May 05, 2008 - 04:07 AM
|
|
Joined: Dec 19, 2006
Posts: 833
Status: Offline
|
|
|
Ron.W wrote:
siduxcc writes any given nameserver into the file
/etc/resolve.conf
This is not the right place, it should be written to
/etc/resolvconf/resolv.conf.d/base
Both are incorrect in the precense of the resolvconf package, the nameserver information should be written to a /etc/network/interfaces stanza as per resolvconf(8). |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 05, 2008 - 08:05 AM
|
|
Joined: Mar 26, 2008
Posts: 22
Status: Offline
|
|
I was sure the norm was to add "prepend domain-name-servers xxx.xxx.xxx.xxx" into /etc/dhcp3/dhclient.conf for static nameservers on dhcp networks.. It sounds reasonable to just use /etc/network/interfaces instead. But this is a little confusing because neither man interfaces or /usr/share/doc/ifupdown/examples/network-interfaces.gz have references to dns setup? However the interfaces file is still refered to for dns setup some places on the net..  |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 12, 2008 - 09:30 PM
|
|
Team Member

Joined: Dec 06, 2006
Posts: 558
Status: Offline
|
|
|
|
|
 |
|
|
|
|