I've searched in the forums and followed the posts I could find on getting local DNS resolution for DHCP reservations to work, but I'm just missing something. I've tried all sorts of setting changes, and no difference.
Setup: AsusWRT-Merlin 380.57 running on an RT-N66U
Local DHCP server is enabled
Range is .100-.149 (not all the reservations are in this range, if that matters)
Domain Name is blank (I've tried various values, it didn't make a difference)
DNS Server 1 and 2 are both blank (I'm overriding the WAN DNS on that page to use OpenDNS)
Advertise routers IP in addition to is checked
Forward is no
DNSSEC is no
And all my local addresses are set under the manual assignment
I SSH into the router and have verified the /etc/dnsmasq.conf and associated files all look correct.
But when I do nslookup from a computer on the network to the router, I get Not Found results.
So the local DNS server is running, it's just not actually using the manual values.
/etc/dnsmasq.conf
/etc/hosts.dnsmasq
/tmp/resolv.conf
/tmp/resolv.dnsmasq
I had all this working great on Tomato Shibby on an old Linksys e2000, but I can't seem to recreate that setup on the Asus. I know that it's possible as I've seem forum posts from others, so I must just be missing something.
Also, how can I enter a manual value for the router itself? In Tomato, you would enter a value with no MAC address. But AsusWRT won't allow that. It also won't allow multiple MAC address for the same hostname (useful if you have a system that connects to the network multiple ways, like wired and wireless).
Thanks,
chezdude
Setup: AsusWRT-Merlin 380.57 running on an RT-N66U
Local DHCP server is enabled
Range is .100-.149 (not all the reservations are in this range, if that matters)
Domain Name is blank (I've tried various values, it didn't make a difference)
DNS Server 1 and 2 are both blank (I'm overriding the WAN DNS on that page to use OpenDNS)
Advertise routers IP in addition to is checked
Forward is no
DNSSEC is no
And all my local addresses are set under the manual assignment
I SSH into the router and have verified the /etc/dnsmasq.conf and associated files all look correct.
But when I do nslookup from a computer on the network to the router, I get Not Found results.
Code:
MegaMac:~ heath$ host mythtv-backend
Host mythtv-backend not found: 3(NXDOMAIN)
MegaMac:~ heath$ nslookup mythtv-backend
Server: 192.168.2.1
Address: 192.168.2.1#53
** server can't find mythtv-backend: NXDOMAIN
So the local DNS server is running, it's just not actually using the manual values.
/etc/dnsmasq.conf
Code:
pid-file=/var/run/dnsmasq.pid
user=nobody
bind-dynamic
interface=br0
interface=ppp1*
no-dhcp-interface=ppp1*
resolv-file=/tmp/resolv.conf
servers-file=/tmp/resolv.dnsmasq
no-poll
no-negcache
cache-size=1500
min-port=4096
dhcp-range=lan,192.168.2.100,192.168.2.149,255.255.255.0,86400s
dhcp-option=lan,3,192.168.2.1
dhcp-option=lan,44,192.168.2.250
dhcp-option=lan,252,"\n"
dhcp-authoritative
read-ethers
addn-hosts=/etc/hosts.dnsmasq
interface=tun21
/etc/hosts.dnsmasq
Code:
192.168.2.197 Anna-ipod
192.168.2.139 mythtv-backend
192.168.2.10 mightymac
/tmp/resolv.conf
Code:
admin@edge:/tmp/home/root# more /tmp/resolv.conf
nameserver 208.67.222.222
nameserver 208.67.220.220
/tmp/resolv.dnsmasq
Code:
admin@edge:/tmp/home/root# more /tmp/resolv.dnsmasq
I had all this working great on Tomato Shibby on an old Linksys e2000, but I can't seem to recreate that setup on the Asus. I know that it's possible as I've seem forum posts from others, so I must just be missing something.
Also, how can I enter a manual value for the router itself? In Tomato, you would enter a value with no MAC address. But AsusWRT won't allow that. It also won't allow multiple MAC address for the same hostname (useful if you have a system that connects to the network multiple ways, like wired and wireless).
Thanks,
chezdude