[lug] Oops. The DNS an whois thing.

Sean Reifschneider jafo at tummy.com
Mon Aug 28 11:52:44 MDT 2000


On Mon, Aug 28, 2000 at 01:42:01PM -0400, John Starkey wrote:
>I was wondering how my machine could be called ns.advancecreations.com
>when I named it new.advancecreations.com but I remembered I have a CNAME
>as ns.

Doesn't matter, the InterNIC host records override what you may have in
DNS.  Obviously, you can't use DNS to look up the IP address associated
with the name of the domain's DNS servers, right?  So that's why they have
host records.

So:

   guin:jafo$ whois ns.advancecreations.com
   [whois.crsnic.net]
   [...]
      Server Name: NS.ADVANCECREATIONS.COM
      IP Address: 24.15.40.242
      Registrar: TUCOWS.COM, INC.
      Whois Server: whois.opensrs.net
      Referral URL: www.opensrs.org

That shows the host record.  No matter what you do in your DNS, that host
record points to the same IP address until you modify the host record.
It's important not to set up a common alias like "www" as the host record,
because that makes changes to the IP address require updating of the host
record instead of just a DNS change.  That's why you should always set up
an "ns" or "nsN" host record for DNS.

Sean
-- 
 A ship in port is safe, but that is not what ships are for.
                 -- Rear Admiral Grace Murray Hopper
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python




More information about the LUG mailing list