[wellylug] Brief and easy question about domain names

Don Jones don.jones at linuxmail.org
Thu Jul 4 22:39:59 NZST 2002


When you register with domainz you must have a valid zone file on the DNS server who will be hosting your domain - BEFORE you can register the domain, if you try before it is setup it will fail, as domainz queries the nameserver you nominate as part of the setup process.

You do not however need to have any particular ip addresses setup, domainz just checks for a SOA record not an A record. SOA is the start of Authority record which indicates that the nameserver thinks it is authoratitive for the domain concerned, A records are the actual ones that map domain names to ip addresses (PTR records are the reverse)

If this is setup on a BIND DNS server this mean you just need to setup the entry in the named.conf file like this (for the primary nameserver, the secondary is a little different):

------------------------------------------
zone "xyz.net.nz" {
        type master;
        file "xyz.net.hosts";
};
------------------------------------------

 and a zone file (called xyz.net.hosts in this case) with this:

------------------------------------------------
$TTL    86400
@       IN      SOA     ns1.blah.co.nz. soa.blah.co.nz. (
                        2001111502      ; Serial
                        10800           ; refresh
                        3600            ; retry
                        604800          ; expire
                        86400   ) ; minimum
        IN      NS      ns1.blah.co.nz.
        IN      NS      ns2.blah.co.nz.
------------------------------------------------
after this you issue the 
ndc restart command to reread the named.conf file.
hmm - thats  a bit more info than you asked for :)

btw if you wanna query nameservers for the other records they have the host command is good:

host -t NS xyz.com.nz will return the nameservers for that domain
-t MX = mail exchange records
-t SOA = Start of Authority

if you wanna check the root nameservers for the co.nz domain try an:
host -t NS co.nz
(isnt it nice to know NASA is backing us up?)

if you want to query the nameserver of another ISP do somehting like:
host -t MX domain.com alien.xtra.co.nz
This kind of command is usefull for debugging mial problems.

You can do similar queries with the nslookup and dig commands

hope that helps (fulfil your need for superflous information).

Don Jones

> If I have a couple of .nz domain names I wish to register, but no idea
> yet as to where the site will be hosted -- should I just use the service
> on the domainz.co.nz site to register the names, without using an
> "agent"?  When I registered a dot com, I did it using Joker, and
> everything was very easy with respect to the DNS servers. Is it much the
> same with domainz?
> 
> Thanks,
> Damon 
> -- 
> Damon Lynch
> Dev-Zone Program Officer
> http://www.dev-zone.org     Jabber Messaging: damonlynch at jabber.com
> Tel: +64 4 496 9597         Yahoo Messaging:  damonlynch at yahoo.com
> 
> 
>   .-.   Wellington
>   /V\   Linux
>  // \\  Users       
> /(   )\ Group
>  ^^-^^
>         http://wlug.paradise.net.nz/
> 
> To unsubscribe from this group, send an email to:
> wellylug-unsubscribe at egroups.com
>   
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
> 

-- 
Get your free email from www.linuxmail.org 


Powered by Outblaze

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Will You Find True Love?
Will You Meet the One?
Free Love Reading by phone!
http://us.click.yahoo.com/ztNCyD/zDLEAA/Ey.GAA/0XFolB/TM
---------------------------------------------------------------------~->

  .-.   Wellington
  /V\   Linux
 // \\  Users       
/(   )\ Group
 ^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
  

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the wellylug mailing list