1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Issues with DNS of static DHCP hosts on LAN

Discussion in 'Tomato Firmware' started by dailyglen, Feb 16, 2012.

  1. dailyglen

    dailyglen Networkin' Nut Member


    Perhaps this is a regression in a new build...I'm quite sure it used to work but now I'm having issues.

    I've set up static DHCP assignments but I can not access my computers by name on my LAN. Instead of accessing the computers on my LAN it goes out to the external DNS server like so:

    $ ping potato  #this is a computer name on my LAN
    PING potato.blah.blah.org ( 56(84) bytes of data.
    64 bytes from hit-nxdomain.opendns.com ( icmp_seq=1 ttl=54 time=93.8 ms
    64 bytes from hit-nxdomain.opendns.com ( icmp_seq=2 ttl=54 time=98.2 ms
    But I want 'potato' to go to

    In Basic >> DDNS I have "Use as DNS" checked for DDNS 1.
    In Basic >> DHCP/ARP/BW I have my hosts names defined with an IP address
    In Advanced >> DHCP/DNS I have "Use internal DNS" checked

    For debugging, if I ssh into my router then I can successfully ping my computers by name.

    I'm running tomato-E3000USB-NVRAM60K-1.28.0495.3MIPSR2-Toastman-RT-N-Ext.bin.

    Any help would be greatly appreciated.

  2. dailyglen

    dailyglen Networkin' Nut Member


    Perhaps I answered my own question. After an upgrade and a reconfiguration I was getting "unknown host" from my pings. I looked at /etc/dnsmasq.conf and the setting "dhcp-authoritative" stuck out since it will not answer to old leases. So I brought my network connection down and back up (to get a new lease) and now everything works. I guess this would have fixed itself after 1440 minutes (1 day) when the lease would have ran out.


Share This Page