• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Route53 Duplicate Hosted Zones

Vincent_te_Beek

New Pleskian
This is a clean installation of Plesk, nothing else has been done on the server. After the Plesk 12 Installation I installed the Route53 Extension directly from the Panel.

I authenticated with the Access ID / Secret key, as soon as I start creating Domains I get duplicated zones in Route53. When I delete the Domain from Plesk only one Domain gets deleted, the other one remains.

bCuFxOe.png


This is my debug log where I see it executes the script twice:


Code:
[2014-12-10 14:50:15] DEBUG [panel] DNS Custom backend call: [{"command":"create","zone":{"name":"dummy123123test.nl.","displayName":"dummy123123test.nl.","soa":{"email":"[email protected]","status":0,"type":"slave","ttl":86400,"refresh":10800,"retry":3600,"expire":604800,"minimum":10800,"serial":1418219415,"serial_format":"UNIXTIMESTAMP"},"rr":[{"host":"www.dummy123123test.nl.","displayHost":"www.dummy123123test.nl.","type":"CNAME","displayValue":"dummy123123test.nl.","opt":"","value":"dummy123123test.nl."},{"host":"178.79.191.173","displayHost":"178.79.191.173","type":"PTR","displayValue":"dummy123123test.nl.","opt":"24","value":"dummy123123test.nl."},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"TXT","displayValue":"v=spf1 +a +mx -all +a:zeus.vibenetworks.nl","opt":"","value":"v=spf1 +a +mx -all +a:zeus.vibenetworks.nl"},{"host":"ftp.dummy123123test.nl.","displayHost":"ftp.dummy123123test.nl.","type":"CNAME","displayValue":"dummy123123test.nl.","opt":"","value":"dummy123123test.nl."},{"host":"ipv4.dummy123123test.nl.","displayHost":"ipv4.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"mail.dummy123123test.nl.","displayHost":"mail.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"MX","displayValue":"mail.dummy123123test.nl.","opt":"10","value":"mail.dummy123123test.nl."},{"host":"webmail.dummy123123test.nl.","displayHost":"webmail.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"ns.dummy123123test.nl.","displayHost":"ns.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"NS","displayValue":"ns.dummy123123test.nl.","opt":"","value":"ns.dummy123123test.nl."}]}},{"command":"update","zone":{"name":"dummy123123test.nl.","displayName":"dummy123123test.nl.","soa":{"email":"[email protected]","status":0,"type":"slave","ttl":86400,"refresh":10800,"retry":3600,"expire":604800,"minimum":10800,"serial":1418219415,"serial_format":"UNIXTIMESTAMP"},"rr":[{"host":"www.dummy123123test.nl.","displayHost":"www.dummy123123test.nl.","type":"CNAME","displayValue":"dummy123123test.nl.","opt":"","value":"dummy123123test.nl."},{"host":"178.79.191.173","displayHost":"178.79.191.173","type":"PTR","displayValue":"dummy123123test.nl.","opt":"24","value":"dummy123123test.nl."},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"TXT","displayValue":"v=spf1 +a +mx -all +a:zeus.vibenetworks.nl","opt":"","value":"v=spf1 +a +mx -all +a:zeus.vibenetworks.nl"},{"host":"ftp.dummy123123test.nl.","displayHost":"ftp.dummy123123test.nl.","type":"CNAME","displayValue":"dummy123123test.nl.","opt":"","value":"dummy123123test.nl."},{"host":"ipv4.dummy123123test.nl.","displayHost":"ipv4.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"mail.dummy123123test.nl.","displayHost":"mail.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"MX","displayValue":"mail.dummy123123test.nl.","opt":"10","value":"mail.dummy123123test.nl."},{"host":"webmail.dummy123123test.nl.","displayHost":"webmail.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"ns.dummy123123test.nl.","displayHost":"ns.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"NS","displayValue":"ns.dummy123123test.nl.","opt":"","value":"ns.dummy123123test.nl."}]}},{"command":"createPTRs","ptr":{"ip_address":"178.79.191.173","hostname":"dummy123123test.nl"}}]
[2014-12-10 14:50:18] INFO [panel] Executing /opt/psa/admin/plib/modules/route53/scripts/route53.php done.
[2014-12-10 14:50:18] INFO [panel] Zone created: dummy123123test.nl.
ResourceRecordSet updated: dummy123123test.nl.
Zone created: dummy123123test.nl.
ResourceRecordSet updated: dummy123123test.nl.
[2014-12-10 14:50:18] INFO [panel] Executing /opt/psa/admin/plib/modules/route53/scripts/route53.php done.

The strange thing is, in the custom call it lists all the records twice as well..

When I disable the Plesk DNS Template it doesn't create Zones at all, when I then enable the Template per domain it creates one Zone correctly. All help is appreciated.

Cheers!

PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk v12.0.18_build1200140610.21 os_Ubuntu 14.04

PROBLEM DESCRIPTION
On Sub creation Plesk creates two hosted zones in AWS Route53

STEPS TO REPRODUCE
Install Plesk 12
Install Route53 Extension from Panel
Create subscription

ACTUAL RESULT
Duplicated zones in AWS Route53

EXPECTED RESULT
One Hosted Zone in AWS Route53
 
Code:
[2014-12-10 14:50:15] INFO [panel] Subscription <b>dummy123123test.nl</b> was created.
[2014-12-10 14:50:15] DEBUG [util_exec] [54884f97d4e15] Starting: dnsmng /opt/psa/admin/bin/dnsmng '--update' 'dummy123123test.nl' '--without-reverse'
[2014-12-10 14:50:15] DEBUG [util_exec] [54884f97d4e15] Finished in 0.03196s, Result: TRUE
[2014-12-10 14:50:15] DEBUG [util_exec] [54884f97dcd5b] Starting: dnsmng /opt/psa/admin/bin/dnsmng '--update' 'dummy123123test.nl'
[2014-12-10 14:50:15] DEBUG [util_exec] [54884f97dcd5b] Finished in 0.04674s, Result: TRUE
[2014-12-10 14:50:15] DEBUG [panel] DNS Custom backend call: [{"command":"create","zone":{"name":"dummy123123test.nl.","displayName":"dummy123123test.nl.","soa":{"email":"-","status":0,"type":"slave","ttl":86400,"refresh":10800,"retry":3600,"expire":604800,"minimum":10800,"serial":1418219415,"serial_format":"UNIXTIMESTAMP"},"rr":[{"host":"www.dummy123123test.nl.","displayHost":"www.dummy123123test.nl.","type":"CNAME","displayValue":"dummy123123test.nl.","opt":"","value":"dummy123123test.nl."},{"host":"178.79.191.173","displayHost":"178.79.191.173","type":"PTR","displayValue":"dummy123123test.nl.","opt":"24","value":"dummy123123test.nl."},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"TXT","displayValue":"v=spf1 +a +mx -all +a:zeus.vibenetworks.nl","opt":"","value":"v=spf1 +a +mx -all +a:zeus.vibenetworks.nl"},{"host":"ftp.dummy123123test.nl.","displayHost":"ftp.dummy123123test.nl.","type":"CNAME","displayValue":"dummy123123test.nl.","opt":"","value":"dummy123123test.nl."},{"host":"ipv4.dummy123123test.nl.","displayHost":"ipv4.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"mail.dummy123123test.nl.","displayHost":"mail.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"MX","displayValue":"mail.dummy123123test.nl.","opt":"10","value":"mail.dummy123123test.nl."},{"host":"webmail.dummy123123test.nl.","displayHost":"webmail.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"ns.dummy123123test.nl.","displayHost":"ns.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"NS","displayValue":"ns.dummy123123test.nl.","opt":"","value":"ns.dummy123123test.nl."}]}},{"command":"update","zone":{"name":"dummy123123test.nl.","displayName":"dummy123123test.nl.","soa":{"email":"-","status":0,"type":"slave","ttl":86400,"refresh":10800,"retry":3600,"expire":604800,"minimum":10800,"serial":1418219415,"serial_format":"UNIXTIMESTAMP"},"rr":[{"host":"www.dummy123123test.nl.","displayHost":"www.dummy123123test.nl.","type":"CNAME","displayValue":"dummy123123test.nl.","opt":"","value":"dummy123123test.nl."},{"host":"178.79.191.173","displayHost":"178.79.191.173","type":"PTR","displayValue":"dummy123123test.nl.","opt":"24","value":"dummy123123test.nl."},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"TXT","displayValue":"v=spf1 +a +mx -all +a:zeus.vibenetworks.nl","opt":"","value":"v=spf1 +a +mx -all +a:zeus.vibenetworks.nl"},{"host":"ftp.dummy123123test.nl.","displayHost":"ftp.dummy123123test.nl.","type":"CNAME","displayValue":"dummy123123test.nl.","opt":"","value":"dummy123123test.nl."},{"host":"ipv4.dummy123123test.nl.","displayHost":"ipv4.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"mail.dummy123123test.nl.","displayHost":"mail.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"MX","displayValue":"mail.dummy123123test.nl.","opt":"10","value":"mail.dummy123123test.nl."},{"host":"webmail.dummy123123test.nl.","displayHost":"webmail.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"ns.dummy123123test.nl.","displayHost":"ns.dummy123123test.nl.","type":"A","displayValue":"178.79.191.173","opt":"","value":"178.79.191.173"},{"host":"dummy123123test.nl.","displayHost":"dummy123123test.nl.","type":"NS","displayValue":"ns.dummy123123test.nl.","opt":"","value":"ns.dummy123123test.nl."}]}},{"command":"createPTRs","ptr":{"ip_address":"178.79.191.173","hostname":"dummy123123test.nl"}}]
[2014-12-10 14:50:18] INFO [panel] Executing /opt/psa/admin/plib/modules/route53/scripts/route53.php done.
[2014-12-10 14:50:18] INFO [panel] Zone created: dummy123123test.nl.
ResourceRecordSet updated: dummy123123test.nl.
Zone created: dummy123123test.nl.
ResourceRecordSet updated: dummy123123test.nl.
[2014-12-10 14:50:18] INFO [panel] Executing /opt/psa/admin/plib/modules/route53/scripts/route53.php done.

Some information added in the top of the log. I see that it's executing the dnsmng command twice as well. Though one is with a different option.
 
Thank you for information. We will check this issue and update this thread with results as soon as we receive them.
 
I can say that developers confirmed that it is really bug. They are working on it in scope of bugreport PPP-13395. I think that is will be fixed in one of next Plesk update but I have no any ETA.
 
Hi Igor,

Thanks for confirming that this is indeed a bug.

I was wondering something else, Route53 works with certain delegation sets (nameserver sets). This means that right now, every domain gets its own nameservers and you cannot communicate those effectively to the client as they aren't being returned to Plesk.

What I now did myself is send a POST request CreateReuseableDelegationSet and am sending this with the route53.php file to Amazon. This way they use the same nameserver set at all times. Are you guys able to look into making this easier for non-technical users? I think the Route53 connections is a really powerful feature that you guys can build upon.

Cheers
 
Hello Vincent,

Extension was updated. Duplicate zones issue was fixed.

Thank you for your request. We want to implement sync NS records so Plesk zone will content Amazon NS records. Will it useful for you or you want to use common delegation set?
 
Hey there Sergey,

This depends.. A lot of people are using Plesk to host packages for their customers. Most of the times they want to use certain nameservers, maybe even whitelabeled. Amazon creates a new nameserver set by default for every domain that gets added. Think of it this way, every domain a user adds has different nameservers.

It might even be better to start using the reuseable delegation sets and cap it to a 100 domains, this way you spread load across nameservers and it makes it manageable as every 100 customers are on a certain set of nameservers.

Thanks!
 
Vincent, would you mind sharing your CreateReuseableDelegationSet updates? I am curious to see how you got that to work.
 
I'm very interested in this also.

Does this plugin automatically create the domains zone at Route53 or is there any other manual intervention other than checking the name servers for each one?

Getting the same set of name servers each time and even whitelabeling would be amazing!

Edit: I've just been reading this http://docs.aws.amazon.com/Route53/latest/APIReference/actions-on-reusable-delegation-sets.html (cool stuff!)

Vincent, any chance of sharing the route53.php edit required to submit the same set delegation request?

Even better, if the plugin was updated to support this! :)
 
Last edited:
I agree, this has lots of potential. I set it up and it creates the zones automatically, but having to manually find the nameservers defeats the purpose of automated simplicity.
 
Is this extension likely to include this functionality soon?

I'm wondering if there are no plans to include this, then if Modules Garden would be interested in modifying this extension.
 
Last edited:
Could someone from Parallels indicate if the Route53 extension will be updated with this functionality?
 
Back
Top