[Gllug] DNS verification (slightly OT)

Andy Millar andy at andymillar.co.uk
Fri Apr 17 08:25:05 UTC 2009


> What? No! It's perfectly valid to have:
> mydomain.foo. IN NS ns1.example.org.
> mydomain.foo. IN NS 12.34.38.82

As per RFC 1035:

<domain-name> is a domain name represented as a series of labels, and
terminated by a label with zero length.  <character-string> is a single
length octet followed by that number of characters.  <character-string>
is treated as binary information, and can be up to 256 characters in
length (including the length octet).

and:

3.3.11. NS RDATA format

    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
    /                   NSDNAME                     /
    /                                               /
    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+

where:

NSDNAME         A <domain-name> which specifies a host which should be
                authoritative for the specified class and domain.


So, you surely should mean 

"mydomain.foo. IN NS 12.34.38.82." to comply with the required format? 

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20090417/09ab1e62/attachment.html>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list