• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Stuck @ Professional - Reverse DNS for mail server.

Started by jentegt, December 11, 2011, 06:38:51 AM

Previous topic - Next topic

jentegt

Hi Guy's,
I keep getting "Failed to get AAAA from MX or your DOMAIN" when I do the test =(.

I'm using Bind as my DNS server.

my added zone:
zone "2.4.7.a.0.8.8.2.8.a.6.0.1.0.0.2.ip6.arpa" {
        type master;
        file "/etc/bind/2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.7.7.0.a.0.8.8.2.8.a.6.0.1.0.0.2.ip6.arpa";


The zone file:
$TTL 1;

@       IN      SOA     ns.jente.vlan77.be. root.jente.vlan77.be. (
        2011121101      ;serial
        300             ;refresh
        300             ;retry
        300             ;expire
        300)            ;negative cache TTL

@        IN     NS      ns.jente.vlan77.be.

;42      PTR    ns.jente.vlan77.be.
;62      PTR    ns.jente.vlan77.be.

1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.2.7.a.0.8.8.2.8.a.6.0.1.0.0.2.ip6.arpa.       IN       PTR     jente.vlan77.be.



My other 'normal' zone file:
$TTL 1
@ IN SOA ns.jente.vlan77.be. root.jente.vlan77.be. (
        2011121101 ; Serial
        300
        300
        300
        1)
;
@               NS      ns
ns              A       193.191.187.42
ns              AAAA    2001:6a8:2880:a742::1
@               NS      ns.vlan77.be.

;vlan77.be.     A       193.191.187.62
@               A       193.191.187.42
                AAAA    2001:6a8:2880:a077::42

test            A       193.191.187.62
test            AAAA    2001:6a8:2880:a077::42

@                       MX 10   mx.jente.vlan77.be.
mx.jente.vlan77.be.     A       193.191.187.42
mx.jente.vlan77.be.     AAAA    2001:6a8:2880:a742::1

*               CNAME   jente.vlan77.be.


What am I doing wrong :/ ?

cholzhauer

Everything looks OK on my end...how long have you waited?

I get responses when I query for AAAA records for your NS and MX, although neither of them have working reverse lookups

jentegt

#2
well, I've waited like 'Not long' :p.
How long do I need to wait, approximately?

EDIT:

Got it, changed the last line in my zone file to:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN       PTR     jente.vlan77.be.

snarked

#3
You're mixing FQDNs with labels within the zone for both your forward and reverse zones.  The BCP RFCs state this is discouraged and often leads to errors.  Clean up the mess you created and you might find that part of your problem goes away.

You also have a problem with your mail server name:

mx.jente.vlan77.be.  (AAAA)=> 2001:6a8:2880:a742::1 (PTR)=> jente.vlan77.be.

You didn't get back what you started with.  That's why you fail.

Also:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.2.7.a.0.8.8.2.8.a.6.0.1.0.0.2.ip6.arpa.
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.4.7.a.0.8.8.2.8.a.6.0.1.0.0.2.ip6.arpa.

If you weren't insisting on FQDNs, you would not have made this mistake.