Setting up PTR records (rDNS) for IPv6 address from HE.net’s Tunnel BrokerI used to use Client IPv6 Address
for AAAA record of my domain, but the PTR record for that address is pretty weird:
1234 # ping isolated.sitePING isolated.site(TB.tunnel.tserv15.lax1.ipv6.he.net (2001:db8:a::2)) 56 data bytes64 bytes from TB.tunnel.tserv15.lax1.ipv6.he.net (2001:db8:a::2): icmp_seq=1 ttl=63 time=1 ms64 bytes from TB.tunnel.tserv15.lax1.ipv6.he.net (2001:db8:a::2): icmp_seq=1 ttl=63 time=1 ms
… and there seems not a way to set PTR record for this address manually.
It turns out that I used wrong address for AAAA record.
Setting up IPv6 address
HE.net also provided a Routed IPv6 Prefixes
for use, of which I didn’t make use before.
But that one is what I really should have used for AAAA record of my domain. And HE.net does provide a way for setting PTR record for addresses in the routed prefix.
I followed guidance from Debian, IPv6, and Hurricane Electric HOWTO to setting up an address in the routed prefix.
- Add the following to
/etc/network/interfaces
to assign an IPv6 address in routed prefix to eth0
:123 iface eth0 inet6 static address 2001:db8:b::1 netmask 64
- Restart the network by
systemctl restart networking
.
ifconfig
now shows a GUA IPv6 address in eth0
:
123 # ifconfigeth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 2001:db8:b::1 prefixlen 64 scopeid 0x0<global>
Setting up rDNS
Now it’s possible to set up PTR record by using HE.net’s rDNS delegations.
- In section
rDNS Delegations
of tunnel’s setting (at the bottom of the page), the delegation could be set up by clicking Edit
and Delegate to dns.he.net
. - Then use
Add a new reverse
in Hurricane Electric Free DNS Management to add the routed prefix. - Now the PTR record could be added in
Zone management
by clicking “Edit zone” icon and adding the mapping from IPv6 address to domain name.
The rDNS record set up could by verified by querying the IPv6 address from dns.he.net
or ping
ing the address.
I used to use Client IPv6 Address
for AAAA record of my domain, but the PTR record for that address is pretty weird:
1 2 3 4 | # ping isolated.site PING isolated.site(TB.tunnel.tserv15.lax1.ipv6.he.net (2001:db8:a::2)) 56 data bytes 64 bytes from TB.tunnel.tserv15.lax1.ipv6.he.net (2001:db8:a::2): icmp_seq=1 ttl=63 time=1 ms 64 bytes from TB.tunnel.tserv15.lax1.ipv6.he.net (2001:db8:a::2): icmp_seq=1 ttl=63 time=1 ms |
… and there seems not a way to set PTR record for this address manually.
It turns out that I used wrong address for AAAA record.
Setting up IPv6 address
HE.net also provided a Routed IPv6 Prefixes
for use, of which I didn’t make use before.
But that one is what I really should have used for AAAA record of my domain. And HE.net does provide a way for setting PTR record for addresses in the routed prefix.
I followed guidance from Debian, IPv6, and Hurricane Electric HOWTO to setting up an address in the routed prefix.
- Add the following to
/etc/network/interfaces
to assign an IPv6 address in routed prefix toeth0
:123iface eth0 inet6 staticaddress 2001:db8:b::1netmask 64 - Restart the network by
systemctl restart networking
.
ifconfig
now shows a GUA IPv6 address in eth0
:
1 2 3 | # ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 2001:db8:b::1 prefixlen 64 scopeid 0x0<global> |
Setting up rDNS
Now it’s possible to set up PTR record by using HE.net’s rDNS delegations.
- In section
rDNS Delegations
of tunnel’s setting (at the bottom of the page), the delegation could be set up by clickingEdit
andDelegate to dns.he.net
. - Then use
Add a new reverse
in Hurricane Electric Free DNS Management to add the routed prefix. - Now the PTR record could be added in
Zone management
by clicking “Edit zone” icon and adding the mapping from IPv6 address to domain name.
The rDNS record set up could by verified by querying the IPv6 address from dns.he.net
or ping
ing the address.