Joined: 14 Mar 2011
|Posted: Sun Oct 09, 2011 12:09 Post subject: [SOLVED] Try to get dnsmasq to resolve hostname
|I have a E3000 running DD-WRT v24-sp2 (04/13/11) big - build 16785. Previously I had a E1000 but still have the same problem on the set up.
The problem is I can't get the router itself to resolve the hostname by itself. For example,
root@E3000:/tmp# ping yahoo.com
ping: unknown host
My setting (under Service tab)
I have localDNS box enabled
I have "dhcp-option=6, 220.127.116.11"
I also add "18.104.22.168" to Static DNS 1 under Setup tab but no use.
I can see under /tmp these settings but that doesn't force the router to resolve anything
root@E3000:/tmp# cat resolv.dnsmasq
root@E3000:/tmp# cat resolv.conf
Here is the dnsmasq.conf if it helps
root@E3000:/tmp# cat dnsmasq.conf
Finally the only work around is to edit /etc/resolv.conf manually to add the 22.214.171.124 but it only lasts until the next reboot.
I wonder if I am missing something simple in the set up. Any help will be appreciated.
Last edited by jkl555 on Mon Oct 10, 2011 22:46; edited 1 time in total