Lan resolution by name?

Discussion in 'Tomato Firmware' started by Azuse, Sep 24, 2010.

  1. Azuse

    Azuse LI Guru Member

    Quick question. What do I need to input into the dnsmasq to resolve lan addresses by name rather than ip? So far all my attempts to log into the router by name instead of ip have resulted in me being unable to log in.

    Also every lan device has a static ip, thus a name, yet there is no name resolution by default.
  2. rhester72

    rhester72 Network Guru Member

    Put the entries in Static DHCP without MAC addresses.

  3. Azuse

    Azuse LI Guru Member

    I was rather hoping for something i could place in the custom config box (easy to edit) that would then let me expand the hosts to /local/.lan.

    Besides, putting the routers ip in the static dhcp table as router won't resolve.
  4. rhester72

    rhester72 Network Guru Member

    Better to do that in Basic/Identification/Domain Name, no?

    Not sure I understand here - the name of the client router is 'router'? I can't see any reason why it wouldn't resolve.

  5. polilla

    polilla LI Guru Member

    Like rhester72 said put it under Basic/Identification.
    In my case Hostname is Linksys, Domain Name is lan.
    From my browser i reached the Tomato-GUI with linksys.lan
    I can ping my computers like computer1.lan, with names i put in static-dhcp.
  6. LanceMoreland

    LanceMoreland Network Guru Member

    I am running Teddy_Bear's usb version. I have my main router configured as a Wins Server/Master Browser according to the tutorial in the link below. I can PuTTY or get to any device on the network by device name. Lot's of other benefits as well.
  7. Azuse

    Azuse LI Guru Member


    It's been so long since i set and forgot tomato I didn't remember the domain box :( At least router.lan etc is working now. What would be ideal would be the ability to simply enter router into the address bar instead of router.lan, rather than have the query forwarded to google.

    Unfortunately the raf build I'm using doesn't have the WINS server, only the dnsmasq option of forwarding one.
  8. Azuse

    Azuse LI Guru Member

    So I take it resolving a name without a domain isn't possible?
  9. rhester72

    rhester72 Network Guru Member

    As long as you set the domain, when your client requests an address, it should also receive a default domain that should match, allowing you to resolve the name both with and without the domain extension.

  10. Azuse

    Azuse LI Guru Member

    Quick reboot sorted it :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice