Re: [gentoo-user] How to set a custom DNS server in resolv.conf when dncp.

2005-04-13 Thread Penghui Wang
On Wed, 2005-04-13 at 20:07 +1200, Nick Rout wrote: > On Wed, 2005-04-13 at 13:36 +0800, Penghui Wang wrote: > > Hi lists: > > > > My computer uses dhcp-client to get IP and other useful information from > > a dhcp server. During the period, my box would receive the IP address > > and DNS server f

Re: [gentoo-user] How to set a custom DNS server in resolv.conf when dncp.

2005-04-13 Thread Nick Rout
On Wed, 2005-04-13 at 13:36 +0800, Penghui Wang wrote: > Hi lists: > > My computer uses dhcp-client to get IP and other useful information from > a dhcp server. During the period, my box would receive the IP address > and DNS server from the dhcp server. > > Here is my /etc/conf.d/net > > iface_

Re: [gentoo-user] How to set a custom DNS server in resolv.conf when dncp.

2005-04-12 Thread W.Kenworthy
dhcp overwrites resolv.conf and other files by default: I use "net entry of: iface_eth0="dhcp" dhcpcd_eth0="-dRND" Check man dhcpcd to see the options and whats neccessary for your system. BillK On Wed, 2005-04-13 at 13:36 +0800, Penghui Wang wrote: > Hi lists: > > My computer uses dhcp-cl

[gentoo-user] How to set a custom DNS server in resolv.conf when dncp.

2005-04-12 Thread Penghui Wang
Hi lists: My computer uses dhcp-client to get IP and other useful information from a dhcp server. During the period, my box would receive the IP address and DNS server from the dhcp server. Here is my /etc/conf.d/net iface_eth0="dhcp" dhcpcd_eth0="-h $HOSTNAME" and my /etc/resolv.conf would be