• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question DNS synchronisation

Raba

New Pleskian
Hello,

I have the following problem. I need to make extensive changes in a DNS zone with several thousand records. The DNS zone is managed with the help of Plesk.

When I use Plesk's user interface to make the changes, it takes a long time and is very cumbersome. Therefore, I would like to make the changes directly in the zone file "/var/named/run-root/var/zonefile" using an editor. This would be much faster and more convenient.

But I know that Plesk stores the DNS entries in its database. How can I synchronize the database again after my changes in the zonefile?

Thanks
Ralph
 
Try to use

# /usr/local/psa/admin/bin/dnsmng --update

Thank you for pointing this out.

Unfortunately, the mentioned command works in the wrong direction. If I remove an entry with the editor directly in the zonefile, and then enter

/usr/local/psa/admin/bin/dnsmng --update example.com,

then the entry is back in the zonefile.
 
Maybe someone knows a way to change or remove the entries in the Plesk database.

Then the synchronization would lead to the correct result.

The problem for me is to find all the tables in the database where the DNS entries can be foundl
 
The problem for me is to find all the tables in the database where the DNS entries can be foundl
Most important tables are dns_zone and dns_recs:

Code:
MariaDB [psa]> show tables like '%dns%';
+-----------------------+
| Tables_in_psa (%dns%) |
+-----------------------+
| dns_recs              |
| dns_recs_t            |
| dns_refs              |
| dns_zone              |
+-----------------------+
4 rows in set (0.00 sec)
 
Back
Top