Re: How to set DNS{1,2} in network-script config?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux