After DA has finished install, I see only one file that has my IPv4 address in here (eventhough the server is fully compatible with ipv6 before installation)
I tried the following method documented here to add ipv6 and link to ipv4 (https://www.directadmin.com/features.php?id=1972). In bash script I do the following:
I ran that script, then when I look at the /var/log/directadmin/errortaskq.log it said this:
So, I took a guess that perhaps I need to add this IPv6 first into directory /usr/local/directadmin/data/admin/ips, so I did the following:
I'm not sure if addip script is supposed to do the same job what the GUI did but it said in the documentation here the purpose is to add an IP to device: https://www.directadmin.com/features.php?id=2533. But then I got this output:
I have configured the system to fully support ipv6, what is the correct flow to add this ipv6 and link it manually to ipv4 via terminal? There is no problem if I do this through GUI.
Code:
/usr/local/directadmin/data/admin/ips/1.2.3.4
I tried the following method documented here to add ipv6 and link to ipv4 (https://www.directadmin.com/features.php?id=1972). In bash script I do the following:
Bash:
#!/bin/bash
IPV4_ADD0="1.2.3.4"
IPV6_ADD="1234:1234:0:0:1234:1234:1234:1234"
echo "action=linked_ips&ip_action=add&ip=${IPV6_ADD}&ip_to_link=${IPV4_ADD0}&apache=yes&dns=yes&apply=yes" >> /usr/local/directadmin/data/task.queue
I ran that script, then when I look at the /var/log/directadmin/errortaskq.log it said this:
Code:
2020:12:17-12:13:01: linked_ips=error=1&result=Error adding link: Error reading ./data/admin/ips/123:123:0:0:123:123:123:123: Unable to open ./data/admin/ips/123:123:0:0:123:123:123:123 for reading.<br>
No such file or directory<br>
<br>
So, I took a guess that perhaps I need to add this IPv6 first into directory /usr/local/directadmin/data/admin/ips, so I did the following:
Code:
/usr/local/directadmin/scripts/addip 1234:1234:0:0:1234:1234:1234:1234 /64 eth0
I'm not sure if addip script is supposed to do the same job what the GUI did but it said in the documentation here the purpose is to add an IP to device: https://www.directadmin.com/features.php?id=2533. But then I got this output:
Code:
IP 1234:1234:0:0:1234:1234:1234:1234 already exists on eth0
I have configured the system to fully support ipv6, what is the correct flow to add this ipv6 and link it manually to ipv4 via terminal? There is no problem if I do this through GUI.
Last edited: