Feeds

Don't stone the DNS heretics

They only said that Anycast was good enough for Jehovah

  • alert
  • submit to reddit

Application security programs and practises

Sysadmin blog I recently asked Rodney Joffe, chief technologist at Neustar, four-decade industry veteran and chair of the Conficker working group, about why he founded UltraDNS and implemented IP Anycast.

Joffe, whose early career involved creating technologies for load balancing and fault tolerance, part of content distribution system Genuity, thought the same ideas would improve DNS. He was asking why the DNS servers of the day used round-robin instead of the closest geographic server: why couldn’t geographic load balancing be brought in to the DNS system, giving answer A to an individual located at X, and answer B to an individual located at Y?

He asked Paul Vixie, DNS guru and creator of BIND, the same question. Vixie’s position was that messing with DNS was fundamentally wrong, as it would violate the principles of network communications: if you are authoritative, you must deliver the same address to all askers, which the DNS Anycast method does not do*. This was to become the official IETF position.

But practice and theory didn’t match up. According to the IETF, when using Anycast, "one in a million DNS queries would fail." But in the late 1990s only 95 per cent of DNS queries succeeded on first request. According to Joffe, Anycast offered better practical results, but was rejected because of the ideas on which it was based.

Instead he created a beta for his friends on the North American Network Operators Group (NANOG) mailing list. Though the idea was viewed as heresy - Joffe was once marched out of an IETF working group meeting because of his ideas - many of the individuals on NANOG began to play with the code. Eventually, a few root server operators quietly incorporated the Anycast DNS technique into their operations, a decision which would shape the internet as we know it today.

On October 21, 2002, a DDoS attack was launched against the root name servers. The ones that survived were those that had quietly switched in the background to using Anycast. When a more powerful DDoS against the root servers occurred in 2007, only the two root servers that had yet to switch to Anycast were laid low.

UltraDNS would grow to become authoritative for more than 10 per cent of all TLD lookups and nearly 20 million domain names, and the customer list includes TLDs including .ca, .us and .uk. His revolutionary approach to root DNS services enabled the internet to withstand the DDoS attacks that once threatened to cripple it.

The lesson is that sometimes the white paper or entrenched rules of best practice are simply wrong. If it weren’t for heretics like Rodney Joffe, the internet wouldn’t function nearly as reliably as it does today. ®

* Editor's note - Trevor adds, by way of clarification: "While Anycast provides a method for DNS servers to offer the same information to all askers, it is also an enabling technology for both geocasting of DNS services and geolocating the requestor. In this way, Anycasting is the technology used by services such as UltraDNS to provide different responses to DNS queries based upon geographic location."

Eight steps to building an HP BladeSystem

More from The Register

next story
Sysadmin Day 2014: Quick, there's still time to get the beers in
He walked over the broken glass, killed the thugs... and er... reconnected the cables*
SHOCK and AWS: The fall of Amazon's deflationary cloud
Just as Jeff Bezos did to books and CDs, Amazon's rivals are now doing to it
Amazon Reveals One Weird Trick: A Loss On Almost $20bn In Sales
Investors really hate it: Share price plunge as growth SLOWS in key AWS division
US judge: YES, cops or feds so can slurp an ENTIRE Gmail account
Crooks don't have folders labelled 'drug records', opines NY beak
Auntie remains MYSTIFIED by that weekend BBC iPlayer and website outage
Still doing 'forensics' on the caching layer – Beeb digi wonk
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
BlackBerry: Toss the server, mate... BES is in the CLOUD now
BlackBerry Enterprise Services takes aim at SMEs - but there's a catch
The triumph of VVOL: Everyone's jumping into bed with VMware
'Bandwagon'? Yes, we're on it and so what, say big dogs
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.