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

Windows can't properly use WRT54G for DNS lookups?

Discussion in 'Cisco/Linksys Wireless Routers' started by xienze, Jun 2, 2004.

  1. xienze

    xienze Network Guru Member

    I have a WRT54G which I recently uploaded BatBox to. By default, BatBox restarts the dnsmasq daemon running on the router to read the /etc/hosts file for hostname mappings (I believe this is what all the custom firmware upgrades do as well). In the router's /etc/hosts file I have listed names for all of the machines on my network. If I configure all of my machines to use the router as their DNS server, I can expect those machines to be able to resolve the names listed in the router's /etc/hosts file, right? Well, my FreeBSD machine works properly: all external hostnames are resolved correctly via the router as well as the names of other machines on my internal network. However, my Windows machines (which have been correctly configured to use the router as their DNS server, as far as I know) can't resolve the names of machines on my LAN, yet they can resolve external hostnames just fine, implying that some sort of hostname resolution through the router is working. Does anyone have any idea what could be going on here?

    Thanks
     
  2. Waruwaru

    Waruwaru Network Guru Member

    If you are using DHCP to get IP/DNS info, then try to renew when you can't resolve to see if that solves your problem, i.e. ipconfig /renew. On my WinXP, sometimes I can not resolve internal names until I renew my ip (which pulls down my DNS server list again).
     
  3. xienze

    xienze Network Guru Member

    Thanks for the reply. Actually, I'm using static addresses for all of my machines (DHCP is disabled).

    I found out what it is incidentally -- Windows apparently has problems resolving single word hostnames (i.e., "desktop") unless they are present in Windows's hosts file (FreeBSD/Linux don't have this problem). If I change the hostnames to look more like a "proper" hostname (i.e., "desktop.mymachines.net"), then everything works.
     

Share This Page