Joined: 29 Oct 2013
|Posted: Tue Oct 29, 2013 18:21 Post subject: Problem with dnsmasq that I can't find a solution for
|Okay so, I currently have a very simple network. A linksys e1500 with dd-wrt on it, with some devices hooked up to it, including another wireless router functioning as an AP.
As long as I don't use dnsmasq, everything functions hunky-dory. But I would like to have local hostname resolution. From what I have read, the best way to do this means using dnsmasq for both dhcp and dns.
Whenever I turn dnsmasq on for dhcp and dns my computer can no longer obtain an ip address from the router, and no longer has access to the internet (Comcast).
Setup > Router IP->
Local IP Address: 192.168.1.1
Subnet Mask: 255.255.255.0
Local DNS: 0.0.0.0
Setup > Network Address Server Settings (DHCP)->
DHCP Type: DHCP Server
DHCP Server: Enabled
Start IP Address: 192.168.1.155
Maximum DHCP Users: 100
Static DNS 1: 192.168.1.1
Static DNS 2: 220.127.116.11 (opendns)
Static DNS 3: 18.104.22.168 (opendns)
Use DNSMasq for DHCP: Enabled
Use DNSMasq for DNS: Enabled
DHCP-Authoritative: Tried both
Services > DHCP Server->
Use JFFS2 for client lease DB:(Not mounted)
Use NVRAM for client lease DB: Disabled
Used Domain: LAN & WLAN
LAN Domain: lan
Additional DHCPd Options: none
Services > DNSMasq->
Local DNS: Tried both
No DNS Rebind: Enabled
Additional DNSMasq Options:
I've tried a few things here, but its my understanding that I should probably have "strict-order" and possibly "local=/lan/"
I also have many reserved static IPs for addresses under 192.168.1.156, including one for my PC, specifically 192.168.1.13
Hardware: Linksys E1500
Firmware: DD-WRT v24-sp2 (03/25/13) big
1) everything works
2) I save the settings as seen above
3) I do "ipconfig /release" and "ipconfig /renew", but the renew fails complaining about not being able to access a file for a loopback interface
4) I lose all network connectivity
5) I set my PC's IPv4 statically to 192.168.1.13
6) I now can reach the router, but not the internet
7) I then put the configuration back to the way it was when it worked, reset my IPv4 to dynamic, do a /release/renew, and I have internet again.
WHAT AM I DOING WRONG???
When all is working my ipconfig /all has a Connection-specific DNS Suffix ending in ".comcast.net." rather than "lan". Dunno if its important.