• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Resolved Apply DNS Zone changes via XML API

cipcip

Basic Pleskian
Hello guys,

I still have issues with this, I have purchased another hosting, I was able to enable by default DNS zones for subdomains, but it seems that my php script although it returns success, it does not apply the DNS to the zone.

The PHP function is as follows:

PHP:
function syncDNS($nom, $usedip)
{
    $xmldoc = new DomDocument('1.0', 'UTF-8');
    $xmldoc->formatOutput = true;
    $packet = $xmldoc->createElement('packet');
    $packet->setAttribute('version', '1.6.8.0');
    $xmldoc->appendChild($packet);
    $sync = $xmldoc->createElement('dns');
    $packet->appendChild($sync);
    $filter = $xmldoc->createElement('sync-with-template');
    $sync->appendChild($filter);
    $filterdoi = $xmldoc->createElement('filter');
    $filter->appendChild($filterdoi);
    $usedip = $xmldoc->createElement('used-ip', $usedip);
    $filterdoi->appendChild($usedip);
    return $xmldoc;
}

What the XML returns, I get:

<?xml version="1.0" encoding="UTF-8"?> <packet version="1.6.8.0"> <dns> <sync-with-template> <filter> <used-ip>123.123.123.123</used-ip> </filter> </sync-with-template> </dns> </packet>
<?xml version="1.0" encoding="UTF-8"?> <packet version="1.6.8.0"> <dns> <sync-with-template> <result> <status>ok</status> </result> </sync-with-template> </dns> </packet>

But still, If I open up Plesk and go to the specific domain, I get the following:

Warning: The DNS zone was modified. If you would like to apply DNS template changes to this zone, either click the 'Apply DNS Template Changes' button on this page or choose the 'Apply the changes to all zones' option in Server Administration Panel > Tools & Settings > DNS Template Settings > Apply DNS Template Changes.

Can you please help me out with this ?

Thank you,
Cristian
 
When I enter my license it says it is a third party license and to ask their support. My hosting support does not know how to fix this.
I could not find the submit button on the support page, maybe it did not appear because it is a third party license ?
 
I have the same problem. I have been looking for a solution for 2 hours. Nobody wrote a solution.

A solution is mentioned below but I don't understand. Please help me. Why the DNS zone is not updating.

 
Back
Top