Changing DNS in CentOS

1. Edit resolv.conf and use your chosen name servers. Here we are using Google DNS. 2. To prevent your resolv.conf from being overwritten on reboot, also change ifcfg-eth0.

Continue Reading Changing DNS in CentOS