2007/12/10, Sean <[EMAIL PROTECTED]>:
> On a newly built amd64 based system my resolv.conf keeps
> getting overwritten on system startup so I am loosing my
> nameserver entry.
>
> The system is set with a static address and I have
> dhcp_eth0="nodns" in my conf.d/net file.
>
> I read that this included entry would prevent my resolv.conf
> file from being overwritten. Obviously not the case.
>
> Would anyone know a cure to prevent this little annoying
> problem?
>
>                                 Thanks
>                                 Sean
> --
> [EMAIL PROTECTED] mailing list
>
>

The file /etc/resolv.conf is generated by the net-init scripts
everytime you establish a connection. You need to add the dns servers
in  /etc/conf.d/net. Take a look in /etc/conf.d/net.example. The
settings for dns servers you have to put in /etc/conf.d/net should be
explained there. So the dns-servers are written to /etc/resolv.conf by
the init script.
-- 
[EMAIL PROTECTED] mailing list

Reply via email to