Friday, April 12, 2013
/etc/resolv.conf got overwritten in Oracle EL6
To resolve this problem. There are two options.
1. Use network manager interface to change the interface setting.
System-> Perferences-> Network Connections -> Wired tab -> [InterfaceName]-> Edit-> IPV4 Settings Tab->
Change DNS Servers
Change search domains
2. Use the the following manual change
In the file: /etc/sysconfig/network-scripts/ifcfg-<iface>
You need to add all of your specific resolv.conf entries, such as:
DNS1="216.239.32.10"
DNS2="216.83.130.2"
DNS3="216.83.130.7"
DOMAIN="mydomain.com"
SEARCH="mydomain.com. yourdomain.com. otherdomain.com.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment