[AusNOG] IPv6 rDNS Zone File

Matt Palmer mpalmer at hezmatt.org
Fri Sep 19 13:41:12 EST 2014


On Fri, Sep 19, 2014 at 02:49:30AM +0000, Daniel Watson wrote:
> We are now using cPanel for our rDNS as it seems to be a bit easier

Easier than what?  Solving the halting problem?  If you're having to do rDNS
by hand at all, you're not doing it "easy".

> I was wondering if anybody can confirm if I am doing this correctly for IPv6 tho, I know IPV4 works fine

Not particularly correctly.

> Zone file consists of
> ; Zone file for 0.0.9.8.6.0.4.2.ip6.arpa
> $TTL 14400
> 0.0.9.8.6.0.4.2.ip6.arpa.       86400   IN      SOA     ad1.glodns.com.au.      serverman.glovine.com.au.       (

[...]

> 0.0.9.8.6.0.4.2.ip6.arpa.       86400   IN      NS      ad1.glodns.com.au.
> 0.0.9.8.6.0.4.2.ip6.arpa.       86400   IN      NS      ad2.glodns.com.au.

You don't need to keep repeating the name; BIND uses the previous name if
you leave it out.  You can also use $ORIGIN in various useful ways.

> 0.0.9.8.6.0.4.2.ip6.arpa.       14400   IN      A       103.18.205.2

Why do you need an A record on an rDNS zone?

> localhost       14400   IN      A       127.0.0.1

You don't need this in here.

> 0.0.9.8.6.0.4.2.ip6.arpa.       14400   IN      MX      0       0.0.9.8.6.0.4.2.ip6.arpa.

Who the hell is delivering mail to an rDNS zone?

> mail    14400   IN      CNAME   0.0.9.8.6.0.4.2.ip6.arpa.
> www     14400   IN      CNAME   0.0.9.8.6.0.4.2.ip6.arpa.
> ftp     14400   IN      CNAME   0.0.9.8.6.0.4.2.ip6.arpa.

I doubt you're serving mail, www, or ftp (seriously?  *FTP*?) on an rDNS
zone.

> 3.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0 14400   IN      PTR     ipv6.morgara.com.

This might be OK, but I couldn't say.  morgara.com's DNS appears hosed due
to a lack of responding authoritative servers (adjacent IPs... tsk tsk).

- Matt

-- 
It has become trendy, in some circles, to lament the Internet's poor
performance/congestion/[...]/<insert issue here>. After firmly denouncing
the Internet, the company or individual then touts their product, which will
fix/replace/augment the Internet.  -- Daniel Golding, NANOG



More information about the AusNOG mailing list