![]() |
replace the existing dns servers with OPEN DNS servers in fedora 13
hi,
i heard that open dns is faster,so,i try to replace my dns with open dns servers, i use my mobile phone to connect to the internet, that's what i've done so far according to this site http://jbowes.wordpress.com/?s=dns Copy /usr/share/doc/dhclient-$VERSION/dhclient.conf.sample to /etc/dhclient.conf and then edit the dhclient.conf file from /etc and replace this line Code:
prepend domain-name-servers 127.0.0.1;Code:
prepend domain-name-servers 208.67.222.222,208.67.220.220;Code:
send host-name "andare.fugue.com";i think these settings aren't applied on interface ppp0, how can i do that, thanks in advance |
I am not sure if I understand your question correctly but I will try...
If you want to use opendns for your system to resolve dns names put them in /etc/resolv.conf here is an example of resolv.conf: # cat /etc/resolv.conf # replace IP address below with opendns nameserver 192.168.1.2 nameserver 192.168.1.3 |
thanks savona,
i edit the resolv.conf and it works,i mean,the site can check if we are using Opendns or not,and I've got: Success! You're now using OpenDNS, but they said i have to edit dhclient.conf,but it was not needed,it could be done just by editing resolv.conf, why should we use dhclient.conf when it could be done with resolv.conf? and what is it for (dhclient.conf) ? thanks |
dhclient.conf is the client app that gets an ip address from your dhcp server.
Now here is a possible problem. Are these machines using DHCP? If so the DNS servers might change next time you renew your IP address, because DNS servers are usually handed out by the DHCP server. If this is the case you have a few options. 1) Change your DNS server to give out opendns DNS servers. 2) Hard code your IP address in your linux machines. 3) Turn off network manager so it doesnt overwrite your /etc/resolv.conf file. |
| All times are GMT -5. The time now is 04:07 PM. |