Plesk 12.x / Linux :: DNS Zones Not Created On Slave Servers
Jul 19, 2015
I am setting up slave DNS servers using bind 9.8 on CentOS 6. I have followed the procedure here successfully: [URL] ....
The problem is that even if I see something like the following in named.run on the slave server (which implies the rndc connection worked):
received control channel command 'addzone xxxxxxxx.com { type slave; file "xxxxxxxx.com"; masters { x.x.x.x; }; };'
received control channel command 'refresh xxxxxxxx.com'
received control channel command 'addzone xxxxxxxx.com { type slave; file "xxxxxxxx.com"; masters { x.x.x.x; }; };'
I still cannot query any entries for that zone from the slave DNS server:
$ dig @y.y.y.y xxxxxxxx.com
; <<>> DiG 9.8.3-P1 <<>> @y.y.y.y xxxxxxxx.com
; (1 server found)
;; global options: +cmd
[Code] .....
I also do not see any zone files created anywhere on the slave server.
I have recently started using the slave DNS manager in the Plesk extension library. I've found that even for DNS zones that are switched off in Plesk, failed sync/transfers still try to take place between the slave and master. Why is this so?
Shouldn't turning the DNS functionality off in Plesk remove the zone from the slave DNS server?
When a domains DNS functionality is turned off, it removed the zone info from the master, but no command is issued to remove it from the slave??
Domain that is trying to sync/transfer: example.com Plesk/Master server: 111.11.11.111 Slave DNS: 222.222.22.222
Code: May 6 08:51:39 ns2 named[1178]: zone example.com/IN: refresh: unexpected rcode (REFUSED) from master 111.11.11.111#53 (source 0.0.0.0#0) May 6 08:51:39 ns2 named[1178]: zone example.com/IN: Transfer started. May 6 08:51:40 ns2 named[1178]: transfer of 'example.com/IN' from 111.11.11.111#53: connected using 222.222.22.222#53166
I have setup Slave DNS using plesk 12. But it is not creating the zone in slave server. I could see log in /var/log/messages of slave server. But DNS zone is not creating. I have followed the KB "[URL] ...." for setup.
Nov 4 13:31:25 li456-187 named[16905]: received control channel command 'addzone testnith.com { type slave; file "testnith.com"; masters { 108.161.131.59; }; };' Nov 4 13:31:25 li456-187 named[16905]: received control channel command 'refresh testnith.com' Nov 4 13:31:25 li456-187 named[16905]: received control channel command 'addzone testnith.com { type slave; file "testnith.com"; masters { 108.161.131.59; }; };'
We have published an article about the 'Slave DNS' Plesk extension in our blog. Parallels does not provide technical support services for this Plesk extension. The extension is intended to serve as example of how certain technical tasks can be accomplished.
I am using the Slave DNS manager and I'm getting the following error in /var/log/messages on the slave server when the master/plesk tries to send change notifications.received notify for zone 'example.com': not authoritative
The domain is pointing to ns1.mydomain.com and ns2.mydomain.com, the domains zone on the master has both of these as NS records. And the SOA record lists ns1.mydomain.com as the primary authoritative nameserver.The zone has not been set on the slave server, what would be the cause here?
Slaves named.conf bbb.bbb.bb.bbb = Slave IP aaa.aa.aa.aaa = Master/Plesk
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.
This is my debug log where I see it executes the script twice:
I've got a Plesk 12 server with the "Slave DNS Manager" extension installed.I've also got a CentOS 7 server that I would like to set up as a slave DNS server.I've installed BIND on the slave server and opened ports 53 and 953.I've followed the instructions on this page but I can't seem to get a link between the two servers: URL....
I've also tried the config that the Plesk panel provides like the case in this thread, I get the same results: URL....
I've setup Bind 9.10.1 on a windows server as a slave DNS server. I've installed the Slave DNS Manager on Plesk 12 for Linux and setup configuration.
New zones are added ok so authentication en communication is working perfectly. But when I delete a zone in Plesk, the zoneconfig file doesn't get deleted on the windows server. I can see the windows eventlog saying "received control channel command 'delzone <domain>'" where <domain> is the zone I deleted. But after that noting. And I see errors after a while because of bind trying to transfer the deleted zone again. The zonefile isn't deleted from c: amedzones...
Code: General ============================= Domain name: bernhardlinz.de Owner's contact name: Bernhard Linz (admin) Domain status: OK
[Code] ....
I can see the domain under "Mails" and also create new mail accounts. There are no Errors for this under
Code: /usr/local/psa/admin/logs/panel.log
As i try to add the domain first i got a
Code: [11-Jul-2014 21:41:35 Europe/Berlin] PleskUtilException: mailmng-outgoing failed: ERROR:outgoing:database disk image is malformed
Which I removed with the
Code: /usr/local/psa/admin/sbin/mchk
Command I found in the Plesk forum. After that i could add the domain.
I try a add another fantasy domain - also works but alos not displaying in Panel "Websites & Domains"
I take a look at the Plesk-Database "psa" with the Build-In "phpMyAdmin"
I take a look at the table "domains" and it looks like the other entries.
The Server was restored a few days before from a Backup. After the restore i had have the problem the "mysql" service did not start. I fixed the problem with the description from [URL] ... (Start mysql in recoverymode, export all data, delete the content of the whole mysql folder /var/lib/mysql folder, init new database and import the exported data). After that all looks fine.
Which Event Handler gets fired when a subscription is created? I've tried both "Hosting settings created" and "Default domain (the first domain added to a subscription/webspace) created" but those don't seem to be firing when I create a new subscription. After creating the Event Handler the psa service was restarted each time. I have a script setup to just log the NEW_DOMAIN_NAME to a file, but that isn't happening.
I got this Problem after install a New Plesk Server.
Current: CentOS 6.5, Plesk 11.5.30, PHP 5.3.3 (Default install), PHP as FastCGI (I Tried also with Plesk 12.x).
What I did: in IP Tables i set al Ports for Plesk; I set in /etc/proftpd.conf the Ports "PassivePorts 65000 65200"
Problem: Each file ore folder created by an php Application i cant see ore override by ftp.
Example: I Upload a new installation of Joomla 2.5 (CMS) by ftp with a User created by plesk. Then I start the Installation by using the Webbrowser. In this process Joomla change some files and create also an configuration.php. All done by php Scripts. Now I check the configuration.php on the FTP -> Cant see it. -> I check by SSH and the file exists. If I Check the Permissions it seams, that all file have same permissions, owner and group.
-> Configuration.php can not see by ftp ore be overwritten -> htaccess.txt I see by ftp and i can manage ->> Permissions seams to be the same "?"!"
if i create a new mailaccount in the power-user panel and i dont log in into the webmailer, so the "subscription" file is not created.
that means there is no way to sent emails with the new created account with external mail clients (Thunderbird), because there is no "sent" or "drafts" folder.
the problem disappears, if i log into the webmailer after creating a new mailaccount.
is there any other way to fix this bug? i want plesk 12 to create the "standard" folders (Trash, Drafts, Sent, Spam) automatically.
I created a new 'Hosting settings created' event running as root and with the highest priority with this command: /var/www/move_some_files.sh
I created a new customer with to test it
But, is not running the script! If I try some command directly on the event like 'touch /var/www/new_file' it's created, so the event is running, but not my script.
I tried to add ac new subscription and this failed.No I have an inconsistent subscription and get the following error: New configuration files for the Apache web server were not created due to the errors in configuration templates:
Template processing failed: file = /opt/psa/admin/ conf/ templates/ default/domainVhost.php, error = Template_Exception: No data. file: /opt/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /opt/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0. Detailed error descriptions were sent to you by email.click here to generate broken configuration files once again or here to generate all configuration files.
How are the records on slave DNS servers updated ? Does it use the settings in the SOA section of the zone files to determine how often slaves are updated ?
I have a Windows/Plesk installation (Windows DNS), what is the best way to make a slave DNS server?I have two more servers without Plesk, windows and linux, one of then could be my slave server, how to accomplish that?
I installed Route 53 extension to manage a slave DNS server but when a add or remove some domain the process does not complete, Plesk stays loading without finish domain creation.
When I disable the extension, Plesk create and remove domains without any problem.
If I change DNS using Plesk Panel the DNS server does not send a notification to the slave server, however if I change DNS directly through the DNS Manager it does send the notifications. Looking around the only thing I can find is an old post [URL] .... I'm not sure if this is related.
is it possible to merge different PLESK-servers to a new one? If I just use the migration-tool there are many errors because of the double-use of the databases (created by plesk-application-manager).
At my company we have running some Helm 3/4 servers and we've installed a new server with Plesk 12 for testing.Do you know a good way to migrate these servers (more than 6) to Plesk 12?.Helm is bringing to me a lot of problems and also servers must be renewed.
Since I upgraded to Plesk 12, when I create a new subscription, an IUSR account is no longer created for that website so I can grant the appropriate permissions to folders, etc.
Window server 2012 r2: I installed wordpress on a domain using plesk. Seemed to work correctly. But when I went to the site www.example.com/wp-admin, the native or default wordpress install started up. I could find no way to bypass this, so I just re-entered all the same settings.
The result was that I ended up with 2 sets of database tables, one set named with my chosen prefix wp_blahblah_ and one set prefixed with wp_blahblah_wp_.
Not good, so I deleted the later set. Wordpress seems to be working, despite one error on the tables I can't reproduce.
I have two VPS with two different Datacenters. I am running my website on one of the VPS which has Plesk Panel 11.5 installed on it. Since my second server is not in use, I would like to use it as a Secondary DNS Server for redundancy. I know this can be done with Plesk Expand. But, I am not in a position to invest further as I just run 4 domains on my main server. I was looking at installing some free control panel on my secondary VPS and set it up as a Secondary DNS Server if possible. But, I could not find any Guides on setting this up.
How I can do this? I see that we have an option in Plesk - 'Switch DNS Service mode' which can be used to either setup my first server as a Secondary or Primary. I have installed Webmin/Virtualmin on the second server, but how to set this up perfectly. I can reinstall the 2nd Server if required, but not my first one with Plesk.
I have hired two servers for plesk and I have the mail configured in one server and the website in another one, it all seems to work fine except for a problem.
When the server where the website is tries to send a message through a smtp account it can´t send it, it seems to be looking for the mail server in the same server where the website is instead of look for it in the other server.
Yesterday I migrated a domain with the migration tool from a Debian 7.6 Plesk 12.0.18 MU35 box to a Debian 7.6 Plesk 12.0.18 MU35 box
This domain have a simple DNS configuration. The A registry for the domain.com was an own IP instead the IP of the server. Rest of the DNS configuration was the same.
After migration the A registry for the domain.com was an own IP too (as expected) but also the A registry for mail.domain.com
Before migration, in the old server:
A domain.com x.x.x.x (own ip) A mail.domain.com y.y.y.y (server ip)
After migration, in the new server:
A domain.com x.x.x.x A mail.domain.com x.x.x.x
The migration had changed the IP for mail.domain.com for the IP of the A registry for domain.com
Very strange. I double-checked it (as the domain in the "old" server was suspended)
Client don´t have access to the control panel, so no changes done.