The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> DNS
|
Split DNS
Discuss Split DNS in the DNS forum on Dev Shed. Split DNS DNS forum discussing issues, servers, and configurations. The Domain Name System (DNS) is what the Internet uses to translate website names into IP addresses.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

November 15th, 2011, 11:51 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 4
Time spent in forums: 1 h 30 m 55 sec
Reputation Power: 0
|
|
|
Split DNS
I used nslookup to fetch the ip address of one website, say google, but get different responses sometime (need to wait for sometime and resolve again). I thought it could be split dns feature but my ip wasn't changed when I tried to get the ip address. So what function/technology is it? Is this split dns or other feature?
Actually, this strange feature cause some issues on my program and I want to setup a similar function on my machine(ubuntu + bind9) to debug, but I don't know how to do it.
Thanks
Jay
|

November 16th, 2011, 07:52 AM
|
 |
Lost in code
|
|
|
|
|
It's a load balancing feature of the DNS server called round robin.
|

November 16th, 2011, 05:08 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 4
Time spent in forums: 1 h 30 m 55 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by E-Oreo It's a load balancing feature of the DNS server called round robin. |
Thank you for your reply, but it looks like different. Round robin gives same ip list but different orders. What I got from the server were totally different ip list.
|

November 16th, 2011, 06:10 PM
|
 |
Lost in code
|
|
|
|
|
There is no reason a server can't return a different list when implementing round robin, especially for a company the size of Google where it would be utterly impractical for their reply to actually contain all of their server IPs.
|

November 16th, 2011, 07:10 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 4
Time spent in forums: 1 h 30 m 55 sec
Reputation Power: 0
|
|
|
Agree what you said, but how to do that? I configured 6 ip address for one host name in Bind9, but the server response all of them.
Here is the configuration and result:
www IN A 172.16.0.93
www IN A 172.16.0.94
www IN A 172.16.0.95
www IN A 172.16.0.96
www IN A 172.16.0.97
www IN A 172.16.0.98
Server: UnKnown
Address: 172.16.0.172
Name: ( address blocked: See forum rules)
Addresses: 172.16.0.93
172.16.0.94
172.16.0.95
172.16.0.96
172.16.0.97
172.16.0.98
Do you know any configuration or any dns software has the similar function as google (return part of ip addresses) which I could setup on my machine?
|

November 16th, 2011, 08:09 PM
|
|
Contributing User
|
|
Join Date: Nov 2010
Location: Florida
Posts: 248
 
Time spent in forums: 3 Days 15 h 26 m 11 sec
Reputation Power: 3
|
|
|
Comparing BIND to Google is a bad idea in this case since they don't use BIND and don't seem to always follow rfc's. They use in house DNS software. It's not bad but you can't really compare it with most things out there. There might be some software you can use for that but nothing I can think of.
Standard DNS returns all of the resource records for a query of that type(should be somewhere in rfc 1035 or 34). By default, BIND will mix up the order it responds and most clients will just use the first one they see.
|

November 16th, 2011, 09:16 PM
|
 |
Lost in code
|
|
|
|
|
I'm not actually sure how you would configure a server to do that, I just know that it's possible to do from a technical standpoint. (In general I try to avoid manually configuring name servers and mail servers.)
|

November 16th, 2011, 11:53 PM
|
|
Registered User
|
|
Join Date: Nov 2011
Posts: 4
Time spent in forums: 1 h 30 m 55 sec
Reputation Power: 0
|
|
|
Thanks for you guys. I have a clear understanding about this issue now. Maybe I need to write some scripts to simulate the behavior of google.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|