• April 20, 2025, 07:11:11 PM
  • 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.

Pages: [1] 2 3

Author Topic: Noticable delay with every link. DNS Resolving Problems?  (Read 25258 times)

supraman

  • Guest
Noticable delay with every link. DNS Resolving Problems?
« on: May 06, 2008, 10:39:32 AM »

Hello, I tried searching but I couldn't find anything.

I am having a VERY annoying problem.  I have OptOnline's Boost line so my speeds are 30/5 Mbps.

Latency and Bandwidth are fine.  When I am directly connected to the cable modem, I am still pulling the same amount of data and I can ping certain IP's at the same speeds.

My problem 'seems' to be resolving DNS entries.  I've tried using 192.168.0.1 from my PC as a DNS entry.

I've tried using OpenDNS IP's from my PC as DNS Entries, and I tried using the DNS's provided from my ISP on my PC.

I Can not change the DNS entries on the Router to an OpenDNS IP as there is someone in my house that gets a work VPN IP unable to connect.

Sorry if that seems confusing, but I will sum it up here.

With/Without Router = Bandwidth & Latency are the same

With Router - EVERY LINK I click on takes a 3-4 second pause before beginning to pull the data.

Without Router - EVERY LINK I click on begins pulling data immedietly.

I will post some information when I get home, with and without the router from HTTP Watch Basic.

But does anyone else have this similar problem.

I've also changed the WAN side speed to 100 Mbps instead of Gbps

These are ALL WIRED connections.

NO QoS enabled.

ISP = Optimum Online Boost 30/5

Cable Modem = Not sure of at the moment

****

Reading up on some other stuff.  Going to try and mess with transmission rates.  I believe I am using a Realtek Onboard Gb NIC.

Always forget to do the simple stuff because it usually always works out of the box.
« Last Edit: May 06, 2008, 10:51:42 AM by supraman »
Logged

Lycan

  • Administrator
  • Level 15 Member
  • *
  • Posts: 5335
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #1 on: May 06, 2008, 01:55:24 PM »

Does the QoS page report your upstream properly?
Logged

pagefault

  • Level 1 Member
  • *
  • Posts: 12
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #2 on: October 19, 2008, 02:23:42 PM »

I have the same problem, DNS takes ~5 seconds to resolve every time when I use the router as my DNS server with DNS relay.

When I query my ISP's DNS server directly, it is instantaneous.

The DNS relay returns the right results, it just takes a long time.

Anybody know what's going on?
Logged

linkwonder

  • Guest
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #3 on: October 19, 2008, 06:41:08 PM »

I have similar problem with my newdir 655 purchase with 1.21 firmware.

The problem for me is, valid name return quickly, but if you ask for non-existing domain( for example, you type http://dfafa.fawfaw.cawea) it take like 1 min to return saying not found.

is there some config to change?
Logged

lotacus

  • Level 4 Member
  • ****
  • Posts: 450
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #4 on: October 20, 2008, 02:20:17 AM »

correct. its a dns problem. Some comcast dns servers are severely old or so bogged down, it takes time for them to query the dns entry.

You may want to try openDNS. Extremely fast dns server.
if your using your router. set its primary and secondary dns address to
208.67.222.222
208.67.220.220

you'll notice a difference.
Logged

pagefault

  • Level 1 Member
  • *
  • Posts: 12
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #5 on: October 20, 2008, 01:47:04 PM »

correct. its a dns problem. Some comcast dns servers are severely old or so bogged down, it takes time for them to query the dns entry.

I am using Comcast, but their DNS servers are plenty fast if I query them directly. It's only when using the router's DNS relay that things are slow. That points to a problem with the router, not the DNS server.
Logged

Lycan

  • Administrator
  • Level 15 Member
  • *
  • Posts: 5335
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #6 on: October 20, 2008, 03:11:24 PM »

DNS relay is going to cause DNS lookup down. You're adding extra work for the router to handle.
Logged

pagefault

  • Level 1 Member
  • *
  • Posts: 12
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #7 on: October 20, 2008, 03:49:15 PM »

DNS relay is going to cause DNS lookup down. You're adding extra work for the router to handle.

DNS relay should not make DNS requests take 4+ seconds. The 5 year old router I replaced does DNS relay with no noticeable delay. Plus, I can set up my server to act as a caching DNS relay without introducing a delay.

This is clearly not correct behavior.
Logged

Lycan

  • Administrator
  • Level 15 Member
  • *
  • Posts: 5335
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #8 on: October 20, 2008, 04:00:31 PM »

Hmm, there's something else going on there.
What happens id you don't use the ISP DNS's?
Logged

pagefault

  • Level 1 Member
  • *
  • Posts: 12
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #9 on: October 20, 2008, 04:33:02 PM »

Hmm, there's something else going on there.
What happens id you don't use the ISP DNS's?

If I use the OpenDNS servers suggested earlier in the thread, DNS relay works effectively instantaneously. So the router is behaving differently when connecting to different DNS servers.

However, as I said, I am able to query Comcast's DNS servers directly and they respond quickly. The router should be able to work with Comcast's DNS servers without introducing a delay.
Logged

Lycan

  • Administrator
  • Level 15 Member
  • *
  • Posts: 5335
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #10 on: October 20, 2008, 04:39:05 PM »

Ping the DNS servers. Look at the reply times.
Logged

pagefault

  • Level 1 Member
  • *
  • Posts: 12
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #11 on: October 20, 2008, 04:56:19 PM »

Ping the DNS servers. Look at the reply times.

I'm telling you, the DNS servers respond just fine when I query them directly. It's only when accessing them through the router's DNS relay that there is a delay.

C:\>ping 68.87.69.146

Pinging 68.87.69.146 with 32 bytes of data:
Reply from 68.87.69.146: bytes=32 time=20ms TTL=57
Reply from 68.87.69.146: bytes=32 time=17ms TTL=57
Reply from 68.87.69.146: bytes=32 time=17ms TTL=57
Reply from 68.87.69.146: bytes=32 time=16ms TTL=57

Ping statistics for 68.87.69.146:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 16ms, Maximum = 20ms, Average = 17ms
Logged

MitchSchaft

  • Level 2 Member
  • **
  • Posts: 58
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #12 on: October 20, 2008, 05:06:09 PM »

Let him troubleshoot, will ya.
Logged

Lycan

  • Administrator
  • Level 15 Member
  • *
  • Posts: 5335
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #13 on: October 21, 2008, 08:26:55 AM »

Odd though, how could a router cause lag in DNS resolution on just one set of specific DNS servers?
What kind of speeds are you supposed to be getting from you ISP?
Logged

pagefault

  • Level 1 Member
  • *
  • Posts: 12
Re: Noticable delay with every link. DNS Resolving Problems?
« Reply #14 on: October 21, 2008, 12:17:47 PM »

Odd though, how could a router cause lag in DNS resolution on just one set of specific DNS servers?
What kind of speeds are you supposed to be getting from you ISP?

It's certainly odd, yes  :)

I get 22 Mbps down/2 Mbps up (measured).

Digging deeper, it seems like the router actually isn't responding at all on the first or second try, when the DNS client retries for the third attempt, it finally gets an answer. The timeout is normally 2 seconds, which explains why the results always take ~4-5 seconds to come back - it's because the first two tries burn 2 seconds each. When the router's DNS relay finally does respond, it does so quickly.

I wonder if the first two queries are failing on their way out or on the way back in...

C:\>nslookup
DNS request timed out.
    timeout was 2 seconds.
Default Server:  UnKnown
Address:  192.168.1.1

> set timeout=1
> www.cnn.com
Server:  UnKnown
Address:  192.168.1.1

DNS request timed out.
    timeout was 1 seconds.
DNS request timed out.
    timeout was 1 seconds.

Non-authoritative answer:
Name:    www.cnn.com
Addresses:  157.166.226.25
          157.166.226.26
          157.166.224.25
          157.166.224.26

> set timeout=20
> www.cnn.com
Server:  UnKnown
Address:  192.168.1.1

DNS request timed out.
    timeout was 20 seconds.
DNS request timed out.
    timeout was 20 seconds.

Non-authoritative answer:
Name:    www.cnn.com
Addresses:  157.166.226.26
          157.166.224.25
          157.166.224.26
          157.166.226.25

> server 68.87.69.146
Default Server:  cns.beaverton.or.bverton.comcast.net
Address:  68.87.69.146

> www.cnn.com
Server:  cns.beaverton.or.bverton.comcast.net
Address:  68.87.69.146

Non-authoritative answer:
Name:    www.cnn.com
Addresses:  157.166.224.26
          157.166.226.25
          157.166.226.26
          157.166.224.25
« Last Edit: October 21, 2008, 12:21:46 PM by pagefault »
Logged
Pages: [1] 2 3