Hashemian Blog

Web Tools, Financial Markets, Technology

Wednesday, June 18, 2008

DNS Mystery, NameServers, IP addresses 

Today I was trying to reach 1&1's home page, but the browser kept failing to pull up the site. Mysteriously I was able to reach 1&1's home page when I changed my DNS servers to those of OpenDNS.org. Feeling curious I decided to investigate the matter in depth. My default DNS server was reporting the IP address of www.1and1.com to be 217.160.232.1. While that address belongs to 1&1, it's really one of their routers or gateways and not a Web server. No wonder I was unable to access the site. the working IP address reported by OpenDNS.org and a number of other DNS servers was 217.160.226.203. That is indeed the correct IP address for www.1and1.com. So why was I seeing different results from different DNS servers?

As you may know the job of translating a host name to an IP address falls on a program known as the resolver which queries its designated DNS server for the answer. If the DNS server can not produce the translation (from its cache or authority zone), it issues what it's know as a recursive query to the DNS network on the Internet. The host name is broken to its fragments and each fragment from right to left is queried successively. The results generally consists of hosts known as NameServers, which get the query one step closer to the final result. The final NameServers produce the IP address translation. However, if any of the NameServers along the way can produce the translation, the query stops and the IP address is sent back to the resolver.

Using the Unix/Linux dig command I followed the name resolution for www.1and1.com one step at a time. Results are shown here and shortened for brevity.

This command displays the root servers:
# dig
;; ANSWER SECTION:
. 451081 IN NS M.ROOT-SERVERS.NET.
. 451081 IN NS A.ROOT-SERVERS.NET.
. 451081 IN NS B.ROOT-SERVERS.NET.
. 451081 IN NS C.ROOT-SERVERS.NET.

This command queries one of the root servers and produces NameServers for "com." TLD (Top Level Domain):
# dig +norec @A.ROOT-SERVERS.NET www.1and1.com
;; AUTHORITY SECTION:
com. 172800 IN NS K.GTLD-SERVERS.NET.
com. 172800 IN NS L.GTLD-SERVERS.NET.
com. 172800 IN NS M.GTLD-SERVERS.NET.
com. 172800 IN NS A.GTLD-SERVERS.NET.

This command queries one of the "com." NameServers:
# dig +norec @A.GTLD-SERVERS.NET www.1and1.com
;; ANSWER SECTION:
www.1and1.com. 172800 IN A 217.160.232.1
;; AUTHORITY SECTION:
1and1.com. 172800 IN NS ns27.1and1.com.
1and1.com. 172800 IN NS ns28.1and1.com.

Generally the previous command shouldn't produce and IP address, instead the authority section would prompt a final query to one of the 1and1.com NameServers (which by the way have the correct IP translation.) Instead somehow an IP address is produced at this level and the query ends with this inaccurate IP translation. I've tried the same query with the homepage URL's of Microsoft, Google, Yahoo and a few other sites and none return an IP address at this level.

It remains to be seen if this erroneous translation would eventually spread around, causing 1&1's homepage to become widely inaccessible. Anyone knows how that IP translation ended up in of the "com." NameServers? Am I making wrong assumptions here? Feel free to let me know.

,,,,

Labels: , ,

<DNS Mystery, NameServers, IP addresses>

1 comments

1 Comments:

By Anonymous Michael Carr, at 31/8/08 6:07 PM  

It probably has to do with the fact that 1and1.com are bad eggs. Although their domain name registration services are cheap, they like to have complete control of your domain and offer little to keep you informed of your domain r status. Unlike other registrars, 1and1.com's domain status web pages fail to tell you the expiration date of your domains. Then, out of the blue they charge your credit card for renewals for up to a year in advance, yet they do not actually update the domain registration until the actual day it's due, in effect using your money in the interim. Worse, it means you are in limbo if you decide to move to another registrar and your domains are not up to date -- shall you pay them twice? This is no way to conduct business. 1and1.com conducts outright theft in that if you sign up with a domain paid a few years in advance, they will charge you again fort he same time period. Plainly 1and1.com does not want you to see your domain registration expiration dates, that's why they are not shown on your control panel. Shame on 1and1.com !!

Post a Comment

This page is powered by Blogger. Isn't yours?

Links
  • Hashemian Blog Feeds
  • Add to Google
  • Read Hashemian.com/blog/ with Bloglines
  • Subscribe to Hashemian.com/blog/ with My Yahoo!
  • Technorati Profile
  • TMCnet.com
  • ARCHIVES
  • 09/01/2003 - 10/01/2003
  • 03/01/2004 - 04/01/2004
  • 04/01/2004 - 05/01/2004
  • 05/01/2004 - 06/01/2004
  • 06/01/2004 - 07/01/2004
  • 07/01/2004 - 08/01/2004
  • 08/01/2004 - 09/01/2004
  • 09/01/2004 - 10/01/2004
  • 10/01/2004 - 11/01/2004
  • 11/01/2004 - 12/01/2004
  • 12/01/2004 - 01/01/2005
  • 01/01/2005 - 02/01/2005
  • 02/01/2005 - 03/01/2005
  • 03/01/2005 - 04/01/2005
  • 04/01/2005 - 05/01/2005
  • 05/01/2005 - 06/01/2005
  • 06/01/2005 - 07/01/2005
  • 07/01/2005 - 08/01/2005
  • 08/01/2005 - 09/01/2005
  • 09/01/2005 - 10/01/2005
  • 10/01/2005 - 11/01/2005
  • 11/01/2005 - 12/01/2005
  • 12/01/2005 - 01/01/2006
  • 01/01/2006 - 02/01/2006
  • 02/01/2006 - 03/01/2006
  • 03/01/2006 - 04/01/2006
  • 04/01/2006 - 05/01/2006
  • 05/01/2006 - 06/01/2006
  • 06/01/2006 - 07/01/2006
  • 07/01/2006 - 08/01/2006
  • 08/01/2006 - 09/01/2006
  • 09/01/2006 - 10/01/2006
  • 10/01/2006 - 11/01/2006
  • 11/01/2006 - 12/01/2006
  • 12/01/2006 - 01/01/2007
  • 01/01/2007 - 02/01/2007
  • 02/01/2007 - 03/01/2007
  • 03/01/2007 - 04/01/2007
  • 04/01/2007 - 05/01/2007
  • 05/01/2007 - 06/01/2007
  • 06/01/2007 - 07/01/2007
  • 07/01/2007 - 08/01/2007
  • 08/01/2007 - 09/01/2007
  • 09/01/2007 - 10/01/2007
  • 10/01/2007 - 11/01/2007
  • 11/01/2007 - 12/01/2007
  • 12/01/2007 - 01/01/2008
  • 01/01/2008 - 02/01/2008
  • 02/01/2008 - 03/01/2008
  • 03/01/2008 - 04/01/2008
  • 04/01/2008 - 05/01/2008
  • 05/01/2008 - 06/01/2008
  • 06/01/2008 - 07/01/2008
  • 07/01/2008 - 08/01/2008
  • 08/01/2008 - 09/01/2008

  • Read Financial Markets  |   Home  |   Blog  |   Web Tools  |   News  |   Articles  |   FAQ  |   About  |   Contact

    © 2001-2009 Robert Vahid Hashemian
    Support the effort
    Liked this page?
    Please consider creating a link to it
    from your Web site.

    hashemian.com
    هاشمیان.com

     Home

     Blog

     Web Tools Add Free Web Tools custom Google Toolbar button (Requires Toolbar >V4)
    Usage

     News

     Articles

     FAQ

     About

     Contact

     Financial Markets Book
    Read Complete Book



    BOOK
    Linux Device Drivers, 3rd Edition
    Greg Kroah-Hartman
    $39.95


    BOOK
    The TCP/IP Guide: A Comprehensive, Illustrated Internet Protocols Reference
    Charles Kozierok
    $89.95


    BOOK
    DNS and BIND (5th Edition)
    Paul Albitz
    $49.99


    BOOK
    Active Directory Cookbook, 2nd Edition
    Laura Hunter
    $49.99


    BOOK
    LDAP System Administration
    Gerald Carter
    $39.95

    |dns-mystery-nameservers-ip-addresses|

    more…




    Get Kindle

    aStore - Hashemian.com on Amazon

    Visits: Powered by hashemian.com

     

     

     

     

     

    Search Hashemian.com





    New Digipower IP-5K2 iPod Accessory Kit
    $14.99
    Ends: Mon Jan 12, 2009 23:29:05 EST


    CCTV 9 36IR color camera VGA IP/ NET DVR 500G HDD FULL
    $899.00
    Ends: Mon Jan 12, 2009 23:42:00 EST


    VERONICA MARS COMPLETE SECOND SEASON DVD TWO 2 Mystery
    $19.99
    Ends: Mon Jan 12, 2009 23:47:54 EST


    LeapFrog Tag Book, Diego Underwater Mystery
    $17.00
    Ends: Mon Jan 12, 2009 23:58:05 EST


    CCTV Security Net DVR 4 ch IP Digital Video Recorder
    $223.00
    Ends: Tue Jan 13, 2009 00:02:01 EST

    more…