Help required - need to update/remove record from all domains

Status
Not open for further replies.

ValdisS

New Pleskian
Hello,

we are new with Plesk panel and are migrating all websites from old Plesk 8.6 to new Plesk 11.5.
Please, can anyone help with command how to remove single NS record from all domains?
Then we will need to change IPs for records which are equal with x.x.x.x.

Thank you.
 
For removing all NS records from all domains use something like:

# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do /usr/local/psa/bin/dns --del $i -ns '' -nameserver ns.$i.; done

More details in

# /usr/local/psa/bin/dns --help
 
Status
Not open for further replies.
Back
Top