# apt-get install dnsmasq
Add 127.0.0.1 to the top of /etc/resolv.conf
# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 208.67.220.220
nameserver 208.67.222.222
To check that its working do:
$ dig google.com
$ dig google.com
Note - for machine with fixed IP
Add 127.0.0.1 to the top of /etc/resolv.conf
# cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 208.67.220.220
nameserver 208.67.222.222
To check that its working do:
$ dig google.com
$ dig google.com
Note - for machine with fixed IP
No comments:
Post a Comment