Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

New Public IP address in Plesk is not updated on DNS zones on slave DNS server(s)

 
applications extensionscachecentosclouddebian

Symptoms

  • After changing the Public IP address to a new one at Plesk > Tools & Settings > IP Addresses, the Slave DNS Manager extension does not update the current DNS zones on the slave DNS server(s) with the new IP:

    # nslookup example.com 203.0.113.4
    Server: 203.0.113.4
    Address: 203.0.113.4#53
    Name: example.com
    Address: 203.0.113.2

    Note: In the above example, 203.0.113.4 is the slave DNS server; the new Public IP address changed at Plesk (Master) is 203.0.113.3, which is assigned to example.com. However, when checking the domain zone against the slave DNS server, example.com still resolves to the old IP, which is 203.0.113.2.

  • The zone file on the slave DNS server still shows the old IP address as the master:

    # named-nzd2nzf /var/cache/bind/_default.nzd
    ...
    zone "example.com" { type slave; file "bot.example.com"; masters { 203.0.113.2; }; };

  • Both Plesk and the Slave DNS server run on the same external sub-network that runs behind a NAT, at Google Cloud. The servers are synced via Slave DNS Manager using their internal IP addresses.

Cause

Bug in the Slave DNS Manager extension with ID EXTPLESK-929, which will be fixed in future product updates.

Resolution

As a workaround, remove the DNS zone files on the slave DNS server and manually disable and re-enable the DNS for the domains at Plesk to recreate the zone files with the new public IP address.

CentOS/RHEL

  1. Connect to the Plesk (Master) server via SSH

  2. Run the following command to show a list of all domains and copy its output:

    # plesk bin domain --list > /pleskdomains.txt
    example.com
    example.net

  3. Connect to the Slave DNS server on another SSH session

  4. Replace the old IP (203.0.113.2) with the new one (203.0.113.3) at /var/named/3bf305731dd26307.nzf:

    # sed -i -e 's/'203.0.113.2'/'203.0.113.3'/g' /var/named/3bf305731dd26307.nzf

  5. Take the output copied from step #2 and paste into it:

    # cat /pleskdomains.txt
    example.com
    example.net

  6. Run the following commands to remove the zone files of Plesk domains from the slave DNS server:

    # for i in $(cat /pleskdomains.txt); do rm -f /var/named/$i ; done

  7. Restart DNS service on slave DNS server:

    # systemctl restart named

    Note: Repeat steps 3-7 on each of connected slave DNS servers.

  8. Return to SSH console of Plesk (Master)

  9. Turn on/off DNS service for each domain:

    # for i in $(cat /pleskdomains.txt); do plesk bin dns --off $i; plesk bin dns --on $i; done

Debian/Ubuntu

  1. Connect to the Slave DNS server via SSH.

  2. Delete information about zone example.com:

    # rndc delzone -clean example.com

  3. Check that the information about zone was removed. The command should return empty output:

    # named-nzd2nzf /var/cache/bind/_default.nzd | grep example.com

  4. Log in to Plesk and sync DNS zones under Extensions > My Extensions > Slave DNS Manager > Resync.

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

WebPros at CloudFest 2023

Read More »

Recommended OSs for Plesk

Read More »

Plesk at CloudFest 2022

Read More »
Knowledge Base

Plesk Email Security: DNS caching is disabled! Please use a local DNS server to improve SPAM recognition via blocklists (for instance systemd-resolved)

Read More »

Unable to start BIND DNS server in Plesk for Linux: “zone NS has no address records (A or AAAA)” or “zone has no NS records”

Read More »

Unable to start Plesk Premium Antivirus ( Dr.Web ) on Plesk server

Read More »

Email notification is sent every day from KernelCare cron task: The IP 203.0.113.2 was already used for trialing

Read More »

Hosting Wiki

  • Server Redundancy
  • Vertical Cloud
  • Cloud Management
  • Cloud Service Architecture
  • Cloud Computing
  • Amazon CloudFront
  • CacheFly
  • Google Cloud CDN
  • Cloudflare
  • AMP
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • JavaScript
  • Domain
  • Plesk
  • Web Server
  • Static DNS
  • DNS Server
  • DNS Forwarding
  • Reverse DNS
  • IPv6
  • IPv4
  • SIP
  • SSH
  • UDP/IP
  • Network Bandwidth
  • Cloud Hosting
  • TCP/IP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family