Solved IP6 address is changed by DirectAdmin

AXQ73

Verified User
Joined
Jul 13, 2021
Messages
37
Due to searchresults about IP6 i think this is the right category for this question. If not please tell me where is.

When you add an IP6 address via the GUI of DirectAdmin a pattern is forced. Also when saving DA is processing the address. In my case the address listed in the server is 2a02:2770::21a:4aff:fed4:baab, but when I add it to the IP of the server DA changes it to 2a02:2770:0:0:21a:4aff:fed4:baab.

I read there are ways to shorten IP6 and maybe the change to 2a02:2770:0:0:21a:4aff:fed4:baab is technically valid but it renders my server useless on IP6. When i do a reverse IP6 lookup, the original address 2a02:2770::21a:4aff:fed4:baab is succesfull, but 2a02:2770:0:0:21a:4aff:fed4:baab is not.

How can i fix this? Why is DA changing this address?
 
But


2a02:2770::21a:4aff:fed4:baab


is the same as


2a02:2770:0000:0000:021a:4aff:fed4:baab


or


2a02:2770:0:0:021a:4aff:fed4:baab

And the reverse lookup works with any of this formats:

% dig -x 2a02:2770::21a:4aff:fed4:baab +short
vps23.ninebits.nl.

% dig -x 2a02:2770:0000:0000:021a:4aff:fed4:baab +short
vps23.ninebits.nl.

% dig -x 2a02:2770:0:0:021a:4aff:fed4:baab +short
vps23.ninebits.nl.

Remember for the creation of the PTR record in ipv6 this full/long notation of the ipv6 address is used (you cant use the "shorter" format):

b.a.a.b.4.d.e.f.f.f.a.4.a.1.2.0.0.0.0.0.0.0.0.0.0.7.7.2.2.0.a.2.ip6.arpa. 3556 IN PTR vps23.ninebits.nl.
 
EDIT:

Nothing todo with Transip panel is only showing in short, but their ptr record is nibble / long


You can't get the ptr record in right format for ipv6 at Transip NL then?

While they shorten the ip adress themselves automaticly in their panel where you can put the reverse yourself...

But then i don't know the translation they do yes or no to full ipv6 PTR record from that.

So maybe everything ok. ;)
 
Last edited:
Hi,

yeah i'm starting to think so. When i use https://network-tools.webwiz.net/reverse-dns.htm and enter both shortened translations the panel warns 'Maybe forged' because it cannot reverse it back to IP6 DNS check (not reverse). When i use the exact version it says 'IP Verified'.

However the main reason is that one of our scanners (provided by semi-gov in my country) also says IP6 is faulty. https://internet.nl/site/caterus.nl/ is the direct link to the test of domain regarding. On the top you can choose En lang if you want. You'll notice it claims IP6 is not configured - but it is.
Any ideas on this?
 
@AXQ73

Did you connect that ipv6 to the right ipv4 in Directadmin , can't point you to docs but did you?

For the domain

But server is hostname and not that domain name right?
 
Thx for reply.

Yep, i did. It's linked to 46.19.34.65 and states 'Added to DNS' - yes and 'Added to apache' - yes. But as i said it is written as 2a02:2770:0:0:21a:4aff:fed4:baab. I have dozen of servers setup the same way and none of m have this issue.
 
Thx for reply.

Yep, i did. It's linked to 46.19.34.65 and states 'Added to DNS' - yes and 'Added to apache' - yes. But as i said it is written as 2a02:2770:0:0:21a:4aff:fed4:baab. I have dozen of servers setup the same way and none of m have this issue.
We have it also in dns as this short notation 2a02:2770:0:0:0.0.0.0.1000 only that part from you :21a: i don't know the 0 is before or end there and how the ipv6 is translated in DA or even dns for that , maybe try that part not short?

We are at transip also!

so :021a: ?
 
DA does not let me choose and unfortunately our host neither. The host uses :: and DA uses :0:0. De registration is at TransIP, the server not.
I already tried to add the IP via the API - in hope it would let me determine the syntax - but also here DA alters the IP.

Yes the server name is vps23.ninebits.nl and holds caterus.nl. But we have many setups like this: all IP6 verified. As long as the server and the IP registration match up it is ok.

So, any ideas still?
 
Back
Top