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

How can I have DNS translate hostname "fileserver" into

Discussion in 'Tomato Firmware' started by sofakng, Aug 7, 2009.

  1. sofakng

    sofakng Network Guru Member

    I have static DHCP setup so that my fileserver is assigned The hostname assigned is "fileserver".

    However, on my Windows 7 machine if I "ping fileserver" it doesn't get an IP address from the router.

    How can I fix this?

    (Windows has c:\windows\system32\drivers\etc\hosts to manually assign hosts to IP addresses and this works but I want to use the router for this)
  2. zforum69

    zforum69 Addicted to LI Member

    You need to put something in Domain Name in the Router Identification screen. For example I put in home. The you can then access (or ping) your file server as home.fileserver or just fileserver

  3. sofakng

    sofakng Network Guru Member

    That doesn't seem to work.

    It allows me to ping fileserver.mydomain but "ping fileserver" doesn't resolve an IP address...
  4. zforum69

    zforum69 Addicted to LI Member

    Have you renewed the DHCP lease in you PC? When you type:

    ipconfig /all
    In a command prompt it needs to pickup DNS Suffix Search List as mydomain.

  5. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    Add an entry in the static dhcp section of the web gui. If you leave the mac address field as all zeroes, then it just updates DNS like you want (if you put in a MAC address, that computer will be assigned that address via DHCP as well).
  6. sofakng

    sofakng Network Guru Member

    Thanks a ton everybody.

    It looks like I just had to reboot my machine to refresh my DNS settings (so the DNS Suffix appeared) and now it working like normal.

    If I "ping fileserver" it correctly gets it from DNS (as "fileserver.mydomain" with the correct IP).

    All is good again.

    Thanks! :)
  7. Elbart

    Elbart LI Guru Member

    Well, is the PC's computername (on itself, not in Tomato) fileserver or not?

Share This Page