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

Reply via email to