When you need a DNS server in order to access any sites, and since editing /etc/resolv.conf doesn't always work (because it gets overwritten regularly), thus this won't work work in /etc/resolv.conf:
search yahoo.com
namesever 10.1.10.2
(in my example, 10.1.10.2 is the IP of my router, which in turn has the proper DNS servers from Comcast, but I could use the DNS servers from Comcast just as well)
Since editing the /etc/resolv.conf may not work, instead, nano /etc/dhcp3/dhclient.conf and at the end of the file, add the entries.
Example for Comcast:
supersede domain-name "example.com"
prepend domain-name-server 68.87.74.162, 68.87.68.162
(where the domain-name-server can be a list, comma separated)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment