Configure DNSMASQ to use /etc/hosts file
Posted
by
casey_miller
on Ask Ubuntu
See other posts from Ask Ubuntu
or by casey_miller
Published on 2012-04-01T12:48:18Z
Indexed on
2012/07/10
21:25 UTC
Read the original article
Hit count: 199
dnsmasq
I have installed DNSMASQ but it was not starting as 53 port was busy.
I found out that ubuntu already had dnsmasq package and it's working.
Now the problem is...I just want to be able to resolve my hosts in /etc/hosts through it
i.e: nslookup somehostonlan localhost
to be resolved to certain IP taken from /etc/hosts file.
but this is not happening.
Why? BTW, as the caching DNS server it's working fine. I just want it to resolve hosts from /etc/hosts file that's all
© Ask Ubuntu or respective owner