Question
Does cPanel's DNSOnly support IPv6?
Answer
DNSONLY supports serving AAAA records, but listening on an IPv6 address for incoming connections is not supported. You can find more details on that at the following Feature Requests entry:
IPv6 Support in DNS Only | cPanel Feature Requests
While the DNSONLY Tweak Settings page does not have the option to enable DNSONLY to work on IPv6, it can be enabled manually.
Note: cPanel Support cannot perform these actions. If assistance is needed, please contact a qualified system administrator.
Workaround
- In SSH as root, you will have to enable the ipv6_listen flag with this command:
whmapi1 set_tweaksetting key=ipv6_listen value=1
- Once this is set, you will have to do a hard restart of the cPanel service:
/usr/local/cpanel/scripts/restartsrv_cpsrvd --hard
- To confirm that the ipv6_listen key is set, you can run this command:
whmapi1 get_tweaksetting key=ipv6_listen