How to set DNS{1,2} in network-script config?
Markku Kolkka
markkuk at tuubi.net
Wed Mar 9 12:05:31 UTC 2005
Ciba LO kirjoitti viestissään (lähetysaika keskiviikko, 9.
maaliskuuta 2005 08:33):
> I would like to add the first nameserver line of "nameserver
> 192.168.1.3" into the /etc/resolv.conf when the eth0 start
> booting up with dhcp. I, therefore, add
> "DNS{1,2}=192.168.1.3" in ifcfg-eth0.
Edit the file /etc/dhclient-eth0.conf and add the line:
"prepend domain-name-servers 192.168.1.3;"
Remove the changes in ifcfg-eth0.
--
Markku Kolkka
markku.kolkka at iki.fi
More information about the fedora-list
mailing list