DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 27th, 2012, 06:41 PM
couttsj couttsj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 165 couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 16 h 28 m 34 sec
Reputation Power: 43
Is there a reason for multiple requests?

I have noticed that some DNS servers send multiple requests for the same information within the same second (up to 8). Just out of curiosity, is there any particular reason that more than 1 request is needed? The worst offenders seem to be the big email providers, who not only use one server to send multiple requests, but pass the same process onto the next round robin server. All this useless traffic has to have an impact somewhere down the line.

Reply With Quote
  #2  
Old February 27th, 2012, 11:23 PM
CaptPikel CaptPikel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Location: Florida
Posts: 248 CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
It could be a few things. Ideally DNS queries should only need 1 query and 1 response. Given the nature of how people configure their systems and how unreliable UDP can be sometimes, you could run across multiple queries. The short answer is I don't really have an answer for that.

Some systems will allow you to configure a retry query time. If someone sets that to say retry every 20ms until it gets an answer, if the first query takes 200ms on a recursive lookup, it could send the same query 10 times.

It could be different servers that are all part of a set. I helped with a system that had multiple backend servers on the same IP but any queries sent to the set were subsequently looked up by all of them. It was a hot site redundancy. So every query that came in went to a controller that sent the query back out to all the servers they had in different locations. Then they had all servers do the lookup (it was configured as 6 at the time). It was overkill and I'm not sure if they kept it but just throwing that out.

It would be hard to say exactly why you would get multiple queries. Using one server as you mentioned is near impossible for any large company (especially an email provider like Google or Yahoo). DNS queries are considered negligible internet traffic for the most part. At 512 bytes max (or 4096 with the DO flag), that's hardly a drop in the swimming pool of traffic most people have. You're right it can add up though. But watching a few youtube videos can equal the same amount of traffic as a couple hundred thousand queries.

Reply With Quote
  #3  
Old February 28th, 2012, 03:25 PM
couttsj couttsj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 165 couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level)couttsj User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 16 h 28 m 34 sec
Reputation Power: 43
Re: Is there a reason for multiple requests?

Thanks for the reply CaptPikel. Although I understand what you are saying, I still don't understand what purpose is served by using these brute force techniques. If the server is going to respond in less than a second, why send multiple requests for the same thing in less than a second? I personally have never experienced unreliable UDP, but I have certainly experienced many cases where a DNS server does not respond in a reasonable period of time because it is overloaded. Our DNS does not support recursion and it is set to black list any single server that submits more than 20 requests per second. There are currently over 30 servers black listed, but that doesn't catch the systems that use multiple round robin servers. I have to manually black list those.

Reply With Quote
  #4  
Old February 28th, 2012, 04:25 PM
CaptPikel CaptPikel is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2010
Location: Florida
Posts: 248 CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level)CaptPikel User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
Yeah hard to tell why they're doing it but it happens a lot on the internet. You can try emailing them and asking but if it's a large organization, I wouldn't expect a response.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Is there a reason for multiple requests?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap