Orphaned Name Servers
When you register a domain name, you typically identify a name server that will host the DNS information for that domain (the zone file).A best common practice recommends that you identify that name server using a name from another domain (also called an out of bailiwick assignment since the name is not in your "bailiwick", e.g., your zone). Let's look at an example.
Imagine that I have registered domains example.NET and example2.INFO, and have identified NS1.example.INFO and NS2.example.INFO as the name servers for example.NET. In the NET zone file we find the name server (NS) and A records (also called glue) for example.NET, as follows:
example.NET NS ns1.example2.NET
example.NET NS ns2.example2.NET
.
.
.
ns1.example2.NET A 10.0.1.53
ns2.example2.NET A 10.0.2.53
Somewhere in the INFO zone file you'll find my name servers for example.NET, e.g.,
example2.NET NS ns1.example2.INFO
Example2.NET NS ns2.example2.INFO
Now, let's suppose example2.INFO is removed from the INFO registry. Assuming I registered example2.INFO, this might occur if I had failed to renew my registration for example2.INFO. It might also occur if the domain was suspended because it had been associated with malicious activity (hold this thought). Irrespective of the reason, the INFO registry operator removes example2.INFO. The NET registry operator, however, won't remove the NS records. Unilaterally removing glue records might interrupt name service for any other domain that also used ns1.example2.INFO or ns2.example2.INFO to host zone files (this is pretty common). In cases like my example, where the domains involved are not in the same top level domain, the registry operators don't know unless they are notified by the registrant(s) involved in the zone change. We now have an orphaned name server, i.e., the name server record exists in NET but the parent domain name no longer exists in INFO. NET will return name server information for example.NET, and the physical host will continue to serve up records from the example.NET zone file.
Let's go back to that thought I asked you to hold. Imagine that a bad actor registers a bunch of phish domains in NET, and hosts them at an orphaned name server in INFO. Now imagine that the parent domain is removed in the same manner as my example, as a result of a suspension action by a registrar. The orphaned name server is now a dark corner from which other phishing domains can operate name service.
The preliminary results of an APWG study of the prevalence of this form of DNS abuse by Internet Identity and Karmasphere indicates that there is a correlation between malicious domains and orphaned name servers. I'll link the report when it's published. Meanwhile, don't orphan your name servers, and if you find an orphan, report it!
N.B. I gave a presentation on this subject at the Sydney ICANN meeting.
Archived at http://www.securityskeptic.com/arc20090601.htm#BlogID732
by Dave Piscitello