Web Hosting Talk


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : detecting anycast, possible?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)

 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-30-2008, 01:10 PM
aww aww is offline
View Beta Profile
Web Hosting Guru
 
Join Date: Feb 2004
Posts: 251
Question detecting anycast, possible?

Is it possible to determine if a nameserver is using anycast or is it completely transparent from the client side?

Thanks for any ideas...

Reply With Quote
Sponsored Links
  #2  
Old 09-30-2008, 03:32 PM
stephanhughson stephanhughson is offline
View Beta Profile
Web Hosting Guru
 
Join Date: Jan 2006
Posts: 268
Normally each computer that needs to lookup DNS information just has whichever nameservers it should speak to listed in a file/setting.

So for my own server, I tell it to speak to my ISP's nameservers. My ISP's nameservers speak to the root servers.

The root servers themselves are distributed all over the world and the same IP address can actually be shared between more than one. It's a bit tricky to explain.


Is this what you mean, or are you after other information. Can you give more details about what you are trying to find out please?

__________________
www.fishycam.com

Reply With Quote
  #3  
Old 09-30-2008, 04:13 PM
LinkLine_1 LinkLine_1 is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Aug 2008
Location: Ontario, California
Posts: 49
You might be able to detect it with some educated examination of the network the server is on, as well as traceroutes from various spots on the internet. The easiest way is to ask whoever runs it.

In general, the client does not care or know that it's using an anycasted service, especially DNS.

Reply With Quote
Sponsored Links
  #4  
Old 09-30-2008, 05:25 PM
Jonathan Kinney Jonathan Kinney is offline
View Beta Profile
WHT Addict
 
Join Date: Aug 2008
Location: Everett WA
Posts: 160
I would say, from an end user standpoint, you would not be able to tell without actually asking the network administrator or the administrator of that DNS server. Well unless it was an entire network that is connected via a hub, and you have a physical server on that same hub, then you could sniff packets and see what is going on, but that would be so absurd, it would be comical.

__________________
Jonathan Kinney
Data Systems Specialist
Advantagecom Networks, Inc.
http://www.simplywebhosting.com

Reply With Quote
  #5  
Old 09-30-2008, 06:48 PM
plumsauce plumsauce is offline
View Beta Profile
Web Hosting Master
 
Join Date: Feb 2004
Posts: 2,711
Are you asking if it makes any difference or if it can be determined?

1. it is of no practical difference to the end user

2. it is detectable by a sufficiently curious observer

Any vendor claiming to do anycast dns who is not will eventually be found out.

__________________
3 sites, 3 services
server uptime/blacklist monitor and sms alert service - exactstate.com
managed DNS global failover and load balance (GSLB) - edgedirector.com
5 second online server check - newsreports.org

Reply With Quote
  #6  
Old 10-01-2008, 12:45 AM
aww aww is offline
View Beta Profile
Web Hosting Guru
 
Join Date: Feb 2004
Posts: 251
Thanks for all the feedback.

I am asking from a technical curiosity and to learn, I realize it makes little difference to the end user but it does make a difference in performance and reliability.

I indeed want to detect it to confirm vendor claims and to find other vendors who may not be "advertising" it.

Sometimes it's easier to try to figure it out yourself than make a general inquiry to a host and get a ignorant answer from an entry-level tech who doesn't even know what anycast is.

However I did come up with one idea on my own but not certain if it would work. By doing several UDP traceroutes to the nameserver, you could count the hops for each request. If they are not the same, then it's probably anycast. Unicast should always be the same number of hops?

What do you think of that logic? The only problem I am running into is I think one of the firewalls in the chain I am using is dropping my packets during my tests.


Last edited by aww; 10-01-2008 at 12:51 AM.
Reply With Quote
  #7  
Old 10-01-2008, 09:43 AM
TowerOfPower TowerOfPower is offline
View Beta Profile
Web Hosting Guru
 
Join Date: Jul 2003
Location: NC
Posts: 254
I don't think that would work at all.

If you want to learn about anycast you will need to learn what BGP is.

__________________
DeveloperSide.NET -- Telling them to Go Host Yourself!

Reply With Quote
  #8  
Old 10-01-2008, 05:29 PM
jhitchco jhitchco is offline
View Beta Profile
New Member
 
Join Date: Oct 2008
Location: Manchester, NH
Posts: 4
Quote:
Originally Posted by aww View Post
What do you think of that logic? The only problem I am running into is I think one of the firewalls in the chain I am using is dropping my packets during my tests.
That's not going to work. There is no sure way to prove or disprove anycast. The Wikipedia article about anycast has a good background. Anycast is just the technique of announcing the same IP space from more than one location (which may mean by provider or by geographic region). Routing then takes end users reaching IPs in that block based on autonomous system number.

Practically speaking, search for a looking glass of a tier 1 network and then do a few traceroutes to the server which is claimed to be anycast from different locations (west coast, east coast, Asia). Not all anycasts are equal as some are anycasted within the domestic United States and some are "real" by being global.

Jeremy
--
Jeremy Hitchcock
Dynamic Network Services, Inc.

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement: