sidux.com
Menu

News

Give back
Last 3 Contributions
30-11-2008 20.00
25-11-2008 100.00
25-11-2008 20.00

Donate


Sponsor
hetzner.de

Languages
Preferred language:



This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Ron.W
Post subject: siduxcc writes nameserver adresses to wrong file  PostPosted: May 04, 2008 - 08:33 PM



Joined: Feb 24, 2007
Posts: 41

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.
 
 View user's profile Send private message  
Reply with quote Back to top
kelmo
Post subject: Re: siduxcc writes nameserver adresses to wrong file  PostPosted: May 05, 2008 - 03:07 AM



Joined: Dec 19, 2006
Posts: 1030

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).
 
 View user's profile Send private message  
Reply with quote Back to top
tickinghd
Post subject:   PostPosted: May 05, 2008 - 07: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.. Confused
 
 View user's profile Send private message  
Reply with quote Back to top
xadras
Post subject:   PostPosted: May 12, 2008 - 08:30 PM
Team Member


Joined: Dec 06, 2006
Posts: 572

Status: Offline
in the next version siduxcc will write the nameservers into /etc/network/interfaces.

_________________
Blog zu meinen sidux-Programmen | Inoffizieller sidux Blog | siduxcc Bugs&Plans
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2006-2008 by sidux e.V., 10407 Berlin, Kniprodestr. 104. sidux e.V. is a Berlin, Germany based non-profit foundation. Consult Impressum and Legal Terms for details. sidux™ is Free Software released under the GNU/GPL license and other compatible licenses.
powered by Zikula & Zafenio