[Gllug] BIND zone file question

Matthew King matthew.king at adamandeve.it
Tue Dec 4 22:41:21 UTC 2001


> Applying for a linux job at the moment, and got sent a test to check
> how resourceful
> I am. One of the questions is spot the errors in the following zone
> file:
>
> @   IN  SOA ns0.example.org.  hostmaster.example.org. (
>                    2001103101  ;   Serial
>                    28800       ;   Refresh
>                    7200        ;   Retry
>                    604800      ;   Expire
>                    3600 )      ;   TTL Minimum
> @   IN  A       212.111.16.78
> @   IN  NS      ns0.example.org.
> @   IN  NS      ns1.example.org.
> @   IN  MX  10  mail.example.org
>
> I spotted a missing fullstop at the end of the MX record making the
> hostname relative to the origin,
> and also that ns1 should be specified as an ip-address.
> Dont like the look of the "@" origin symbols at the start of each line,
> but this is valid syntax and the same
> as leaving all RR domains blank.
> Any other errors ?
>
> /Anthony/

Well the retry/expire/etc. look a bit small, but I guess that's really up to
the hostmaster.

Incidentally NS records are not IP addresses. NS records are given IP
addresses with normal A records later.

Of course there's only one MX, which usually bad :-)

Matthew

-- 
GIT/CM/M d++(-) s++: a--->? C++++ UL++++$ P+++>++++ L+++ E>++ W-- N+ o?
K++  w--- O-- M+ V? PS+>++ PE(--) Y+>++ PGP+++@ t+ 5-- X+(-) R tv-
b++>++++ DI++++ D++ G++ e(*) h!>++ r-- y->++++




-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list