• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question add ipv6 to all subscriptions at once

TomBoB

Silver Pleskian
Hi,

repost from an old Plesk 12 forum - now for Onyx 17.8#6 on CentOS 7.4

so far, we have just used ipv4 on the server, but now we have added an ipv6 adress to the server, and we would like to roll out this ipv6 adress to all customers / subscriptions at once.

configuration all done and working fine. But I'll be buggered if I have to switch ipv6 from none to the new shared one for hundreds of domains one-by-one. ;)

Just can't find it in Plesk, Plesk Online Manual, Google, or anywhere.
Is there a CLI command I can use perhaps?
 
Stood before the same problem and used the following shell script to "fix" that:
Code:
#!/bin/bash
IPV4=x.x.x.x
IPV6=y:y:y:y::y

# for domains
for d in `plesk db -Ne "select name from domains where parentDomainId=0 and webspace_id=0 and htype='vrt_hst'"`
do
    plesk bin domain -u "$d" -ip $IPV4,$IPV6
done
# for subdomains
for d in `plesk db -Ne "select name from domains where parentDomainId!=0 and htype='vrt_hst'"`
do
    plesk bin domain -u "$d" -ip $IPV4,$IPV6
done
 
Back
Top