• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Issue Change DNS record serverwide after import

Rens

New Pleskian
Hey all,

We migrated some websites about 200 from a old server of our client. All these websites have a NS record in their DNS zone in Plesk.

The NS that is pointed in the DNS zone is the old nameserver. We need to change that to the new nameservers. If we change DNS template it won't edit the NS because they were manually added on the old server.

Is there any script that we can run that changes "ns1.server1.com" to "new.server2.com" on all DNS records that have that record ?
 
I think you might be able to pull this off using the Plesk CLI. Perhaps using the dns --reset command plesk bin dns --reset example.com -ip 192.0.2.9 . Use with caution, I havent tested this my self.
 
Back
Top