• July 16, 2025, 05:44:22 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: LAN DNS lookups take ~3 seconds  (Read 9556 times)

bjarnia

  • Level 1 Member
  • *
  • Posts: 4
LAN DNS lookups take ~3 seconds
« on: April 07, 2009, 12:19:54 PM »

I have a LAN set up with my DIR655 as the router and dhcp server. All computers get an ip from it and of course use it as a primary dns server.

However, LAN dns lookups take an incredibly 2-3 seconds to resolve. Internet lookups are near instant.

Anyone got a clue as to why this could be?
Logged

Lycan

  • Administrator
  • Level 15 Member
  • *
  • Posts: 5335
Re: LAN DNS lookups take ~3 seconds
« Reply #1 on: April 07, 2009, 12:39:44 PM »

You can try the beta firmware from the forums or change your DNS servers to 208.67.222.222 and 208.67.220.220 or disable DNS relay.

Any of these should fix your issue.
Logged

smlunatick

  • Level 5 Member
  • *****
  • Posts: 625
Re: LAN DNS lookups take ~3 seconds
« Reply #2 on: April 07, 2009, 01:07:05 PM »

LAN DNS lookup?  Where are your LAN DNS records stored?   Internet DNS lookup will be routed directly thru most D-Link routers when DNS relay is enabled.   You will need to adjust so as to add your own DNS server onto the LAN or fix your "host" file entries.

DNS resolution will go thru the list of DNS servers first and then go to any host file entries.  Therefore, if your have DNS server entries, it will sequentially check the Primary, Secondary and "other" server IP addresses before your host files.
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: LAN DNS lookups take ~3 seconds
« Reply #3 on: April 07, 2009, 01:10:10 PM »

DNS resolution will go thru the list of DNS servers first and then go to any host file entries.  Therefore, if your have DNS server entries, it will sequentially check the Primary, Secondary and "other" server IP addresses before your host files.

Actually it checks the hosts file first, then it moves on to other methods, try it yourself add an entry like the below to your hosts file and then resolve google.com and see what is returned.

127.0.0.1 google google.com www.google.com
Logged
non progredi est regredi

bjarnia

  • Level 1 Member
  • *
  • Posts: 4
Re: LAN DNS lookups take ~3 seconds
« Reply #4 on: April 07, 2009, 01:15:38 PM »

Um.. I assume that the DHCP server on the router maintains the LAN DNS records and acts as a LAN DNS server for it's DHCP subscribed computers?

I don't have my own DNS server, I just use the router. I have no interest in doing anything with the hosts file, as it's not even close to a real fix. Having to maintain some file on every computer on the network that needs to be updated every time an IP changes is... what a DNS server is supposed to do.

Will try the new firmware when I get a chance, thanks.
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: LAN DNS lookups take ~3 seconds
« Reply #5 on: April 07, 2009, 02:19:35 PM »

I am not suggesting that anyone should change their hosts file for anything other than testing purposes, to better understand the underlying procedures.

Thing is this router does not do LAN DNS, nor does any home router to my knowledge.
Logged
non progredi est regredi

EddieZ

  • Level 10 Member
  • *****
  • Posts: 2494
Re: LAN DNS lookups take ~3 seconds
« Reply #6 on: April 07, 2009, 02:26:16 PM »


Thing is this router does not do LAN DNS, nor does any home router to my knowledge.

That's correct. You need to either set it in your HOSTS file (legitimate action) or get a DNS server in your network. And the router is no DNS server either. It only has DNS relay (go WIKI if you want to know the details).

LAN 'DNS' lookup is no DNS lookup but most probably you are talking about the netbios comunciation on the LAN.
Logged
DIR-655 H/W: A2 FW: 1.33

bjarnia

  • Level 1 Member
  • *
  • Posts: 4
Re: LAN DNS lookups take ~3 seconds
« Reply #7 on: April 07, 2009, 03:00:47 PM »

Umm okay.. But my entire life (from the days of Coax LAN's) I have never had LAN dns lookups this slow. Only different thing is the router. So there must something it's doing that makes the netbios communication so slow then?
Logged

Lycan

  • Administrator
  • Level 15 Member
  • *
  • Posts: 5335
Re: LAN DNS lookups take ~3 seconds
« Reply #8 on: April 07, 2009, 03:07:54 PM »

If you kill the DNS Relay does the netbios still perform slowly?
Logged

bjarnia

  • Level 1 Member
  • *
  • Posts: 4
Re: LAN DNS lookups take ~3 seconds
« Reply #9 on: April 07, 2009, 03:17:17 PM »

If you kill the DNS Relay does the netbios still perform slowly?


This fixed it (along with renewing the DHCP heh, forgot that at first)

What's the point of DNS relay?
Logged

Lycan

  • Administrator
  • Level 15 Member
  • *
  • Posts: 5335
Re: LAN DNS lookups take ~3 seconds
« Reply #10 on: April 07, 2009, 03:31:17 PM »

We're working on a offical release to correct it. Theres also a beta you can try.
Logged

EddieZ

  • Level 10 Member
  • *****
  • Posts: 2494
Re: LAN DNS lookups take ~3 seconds
« Reply #11 on: April 08, 2009, 01:14:08 AM »

Umm okay.. But my entire life (from the days of Coax LAN's) I have never had LAN dns lookups this slow. Only different thing is the router. So there must something it's doing that makes the netbios communication so slow then?

How about listing your options in the DHCP/network setup which also addresses the Netbios settings....

(http://192.168.1.64/Basic/Network.shtml)
Logged
DIR-655 H/W: A2 FW: 1.33