Correct Syntax for NS and MX records in Zone File

Kenneth Roberts kr at macoby.com
Mon Jul 18 23:58:47 UTC 2005


Hello all,

    I am trying to setup a correct zone file, and after reading  Albitz 
& Liu cover to cover, there are a couple of basic concepts that I don't 
understand. They revolve around naming rules for NS and MX records.

        As for NS records, are these entires proper?  The domain name 
for the zone is master.com. The host names for the nameservers are 
maud-a, and maud-b.  Do you have to append the master.com domain name to 
the nameservers, or can you use another domain name outside the zone.
;
;
;    NAME SERVERS
;
;
master.com.            IN   NS maud-a.sawsa.com.
master.com.            IN   NS maud-b.zzip.com.
;
;
    The same question with MX records.



;    MX RECORDS
;
master.com.                IN   MX      10    cuda-1.theibn.com.
master.com.                IN   MX      30    cuda-2.ibnto.com.

Thank you for your assistance.


kr



More information about the bind-users mailing list