When changing IP address for a subscription, the following error is shown:
Error: Unable to restore the DNS zone: an error occurred while adding the <ip> IN none domain.tld. record: Incorrect DNS record values were specified.
Unable to change the IP address for a subscription.
PTR record is missing its option in
We need to add the missing option where required.
The following query will show all affected subscriptions:
mysql> SELECT * FROM `dns_recs` WHERE `type`='PTR' AND `opt` <> '24';
Execute the following query to add missing options:
mysql> UPDATE `dns_recs` SET `opt` = '24' WHERE `type`='PTR' AND `opt` <> '24';
After that, you will be able to change IP address for a subscription.