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-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 setted to > > nameserver 192.168.0.138 > nameserver 192.168.0.138 > search example > > But i have built a DNS server on my own box. Then i > want /etc/resolv.conf to be set as the follow. > > nameserver 127.0.0.1 > search example > > What operations i need to do now? How is the correct /etc/conf.d/net? > > Thanks in advance. > > Wang Penghui > > > -- > [email protected] mailing list > -- [email protected] mailing list

