Hurricane Electric's IPv6 Tunnel Broker Forums

Tunnelbroker.net Specific Topics => Questions & Answers => Topic started by: garothor on January 27, 2017, 01:12:33 PM

Title: rDNS for he.net IPv6 tunnels
Post by: garothor on January 27, 2017, 01:12:33 PM
So I got on the kick that I wanted to get forward and reverse DNS working on my HE.net tunnels.  It was probably annoyance at only getting 19/20 here: http://ipv6-test.com/  I poked around with the he.net dns options, but manual entry is not an option I was interested in and I didn't want to mess around with figuring out if I could get dynamic registrations working.  I didn't need anything too complicated, some sort of automatic records would be preferable. 

Eventually I stumbled across Knot DNS.  The synth-record module was exactly what I was looking for.  I got it configured and slapped it on a couple of IPv6-only VPS's.  Then I set the rDNS Delegations in the he.net tunnel configuration screen.  And it didn't work.

I waited a few days, I emailed he.net about it, and it still didn't work.  NXDOMAIN every time.  SOA still pointing to ns1.he.net.  The eventual solution appears to have been deleting the zones from the he.net free dns management page https://dns.he.net/ .  After removing the reverse zones on the dns management page the  he.net dns servers started properly using the delegation information I had entered on the tunnel rDNS delegation configuration page. 

So now everything works and I get 20/20 at http://ipv6-test.com/ .  Hooray!

Having gone through the trouble to get this working I also thought I might like to share the rDNS servers.  So, if you too want valid rDNS for your tunnels then just set your rDNS delegations to the following:

ns1.rdns.onlineregistration.xyz

ns2.rdns.onlineregistration.xyz

These servers are already configured to respond for any he.net tunnel IPv6 address. 

I figure it's one small way I can give back in thanks to he.net for providing the free IPv6 tunnelbroker service.  Thanks he.net!
Title: Re: rDNS for he.net IPv6 tunnels
Post by: mianosm on January 29, 2017, 06:37:59 AM
I have the same tickle/desire, but I don't think that that is the correct route to go with (just using a synth-record with a bunch of garbage records).

Just as a heads up:

(http://i.imgur.com/D2Pav0O.png)


Going forward I think that this would be the more preferable way to update the Records: https://dns.he.net/docs.html
Title: Re: rDNS for he.net IPv6 tunnels
Post by: garothor on February 05, 2017, 04:47:03 PM
Oh I agree that this is the easy way out, but it's what every ISP I've seen does with their IPv4 so it's good enough for me.

Also there is no webserver running at that address.  You'd have to use ping. 

Pinging ns1.rdns.onlineregistration.xyz [2605:9880:0:1ea:be::8b9d] with 32 bytes of data:
Reply from 2605:9880:0:1ea:be::8b9d: time=29ms
Reply from 2605:9880:0:1ea:be::8b9d: time=28ms
Reply from 2605:9880:0:1ea:be::8b9d: time=29ms
Reply from 2605:9880:0:1ea:be::8b9d: time=28ms

Ping statistics for 2605:9880:0:1ea:be::8b9d:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 28ms, Maximum = 29ms, Average = 28ms
Title: Re: rDNS for he.net IPv6 tunnels
Post by: alerinaldi on December 23, 2019, 01:28:26 PM
Thanks for this, this is really comfortable :)
Title: Re: rDNS for he.net IPv6 tunnels
Post by: tjeske on January 17, 2021, 07:44:35 AM
But that means I have to give up rDNS totally to your NS? What about some of my static entries? I won't be able to set them up, right?
Title: Re: rDNS for he.net IPv6 tunnels
Post by: snarked on January 17, 2021, 07:53:41 AM
When you had the zone set up at dns.he.net, did you enter it as a reverse or as a slave?
The slave option is what you want....
Title: Re: rDNS for he.net IPv6 tunnels
Post by: tjeske on January 18, 2021, 09:24:32 AM
Ah, so if I set up a slave zone, it will tell the master which IPs have a manual PTR record?
Title: Re: rDNS for he.net IPv6 tunnels
Post by: snarked on January 19, 2021, 07:25:38 AM
No.  It means that you host the zone outside of HE and they serve a copy.  You still have to populate the zone yourself at the master.
Title: Re: rDNS for he.net IPv6 tunnels
Post by: heysoundude on February 09, 2021, 11:17:04 AM
I think this is something I need to know too:  I'm running unbound on my router, a (stupid fast) caching rDNS for my network, and I'm about to self-host a small website on it.  (the hosting account expired and the content is still germane).  I registered the domain with Icann on my own, so I was able to move it to HE's nameservers...

I just want to confirm - I need to set up DDNS on my router even though it's native IPv6 (because my ISP package gives me a non-static WAN IP) so that the A- and AAAA-records for the domain point to the right place consistently, right?