Jun 2, 2017

[HDGEM] How to configure Fedora DNS from command line

To configure an interface to ignore routes sent by a DHCP server, add the following line to the ifcfg file.
PEERDNS=no
This will prevent network service from updating /etc/resolv.conf with the DNS servers received from a DHCPserver.
To configure an interface to use particular DNS servers, set PEERDNS=no as described above and add lines as follows to the ifcfg file:
DNS1=ip-address  DNS2=ip-address



--
Posted By Blogger to HDGEM at 6/02/2017 11:12:00 AM