How to: disable wvdial Auto DNS — use static DNS settings

Sometimes you wanted to get rid of your crappy ISP DNS servers for good.

I’m using wvdial to dial up, here’s what I do.

[*] Disable usepeerdns. Edit “/etc/ppp/peers/wvdial” file. Commented the usepeerdns line. Here’s what is should look:

[*] Disable Auto DNS in wvdial. Edit “/etc/wvdial.conf” file. Set Auto DNS Off.
Auto DNS = Off

[*] Add your own DNS servers to “/etc/resolv.conf” file.

Those are Google Public DNS service, a very good ones, and best of all, its free!

More of free public resolving nameservers here.

[*] Edit “/etc/dhcp3/dhclient.conf”. Find:
prepend domain-name-servers;
Add your nameserver to the line, ie:
prepend domain-name-servers,;

[*] Done!

Good luck!

Tagged with 
About sepedatua
I am nothing special, of this I am sure. I am a common man with common thoughts and I’ve led a common life. There are no monuments dedicated to me and my name will soon be forgotten, but I’ve loved another with all my heart and soul, and to me, this has always been enough.

This site uses Akismet to reduce spam. Learn how your comment data is processed.