Plesk 12.x / Linux :: How To Autocreate DNS Records On Remote Server
Jan 17, 2015
I have Plesk installed on the master nameserver ns1.example.com, the dns slave manager extension installed, a working slave ns2.example.com and Plesk installed with working WHMCS autocreation of customers and subscriptions on a shared hosting server web1.example.com. I feel there's probably something obvious that I'm missing, but I can't figure out how to autocreate DNS records on ns1.example.com for customers on web1.example.com when new accounts are created.
I have just moved away from Kloxo Hosting, and I am a bit confused as to how I go about setting Client domains to use the (Already Registered) Nameserver Records I have created on the server.
You see, when I create a customer, the template adds the domain with it's own nameservers, ex: (ns.customerdomain.com -> 0.0.0.0) I don't want this to be the case.
What I would like to achieve, is for all my client's to have their NS records pointing at the NS records I already have registered on the server.
The reason for this is, when I submit the registration document to my local registrar, I have to specify the nameserver address for the domain, however, I only have 2 IP's on the server. I cannot glue every customer's domain FQDN to an IP.
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE Plesk 11.5, 11.5.30 Update #44, last updated at April 30, 2014 03:25 AM, Centos 6.5 (Final), Linux 64bit
PROBLEM DESCRIPTION When I try to add an extra MySQL server, running on a different server, I always get an error that the user has no admin access. But the user I created does have admin access to the database. The remote database is a MySQL 5.5 on a Linux Ubuntu 12.04 LTS server
STEPS TO REPRODUCE Tools & Settings -> Database Servers -> Add Databases server
ACTUAL RESULT Error: Test connection to the database server has failed because the supplied account does not possess administrative privileges: Access denied for user 'admin'@'%' to database 'd536cedf97037e'
EXPECTED RESULT A working database connection.
ANY ADDITIONAL INFORMATION These queries are logged by MySQL:
If I just ignore this message, go to a subscription and create a database, then the database gets created just fine. It's just Plesk that thinks that something went wrong.
where do I find the setting to change dns records in plesk 11.5 ver ? I do not see it, it is missing in settings of domain under tab: "Websites and Domain"
I want to change SOA Settings from defaults to these: When I press OK button shows that is saved but when I test with [URL] .... and [URL] .... shows that settings still is defaults.How to change these settings??
I have a PPP12.0 hosted on ubuntu 12.04, and several websites and domains, mail service active using postfix.
Lets take for example two domains :
www.domainA.com www.domainB.com
DomainA uses postfix DomainB uses an external mail service , MX records are duly entered in the DNS zone of DomainB
If i send a mail from an adress of DomainA, lets say contact@domainA.com to any email of domainB lets say info@domainB.com, the server does not take into account the MX records, and i receive an answer from the server : 550 5.1.1 <info@domainB.com>: Recipient address rejected: User unknown in virtual alias table
But, if i send an email using any other external mail service (gmail, hotmail...), the mail is correctly forwarded to the mail server entered in the MX record of domainB.
I wrote a script to test the integrity of my DNS and run it from time to time on my server...
I just ran it today and it discovered I suddenly have 5 domains with SOA-records that doesn't point to itself. They point to the secondary nameserver.
They are records that exist for years and were for sure correct before (I know this because of that script).
If I do a "restore defaults" it isn't corrected and if I switch to slave and then back to master it doesn't change either...
The file /var/named/run-root/var/obfuscated.com is updated, but the slave-DNS stays in that file...
The only way I'm able to correct it is by deleting the NS-record with the slave DNS and adding it again.
I assume there's some mechanism that scans the NS-records and then decides to make that one the SOA. This has always worked fine... also on this server.
I've run into a problem with my Plesk install with Amazon Route 53. I have the latest extension installed (version 1.2 release 2) on Parallels Plesk v12.0.18_build1200140811.16 os_CentOS 7.
The extension has been working perfectly well for me for months. I was adding new domains to Plesk and discovered that as I was making changes to DNS records that a new zone file was created on Route 53 instead of updating the original one.
I did notice that this started happening when I surpassed the 100 domain limit and seems to only happen on domains created at #101 and on. (in other words, I can edit a domain that was created before I got to domain #100 [ie domain #1] and it does not create a duplicate zone file).
I turned on debug mode for plesk and am seeing the json calls with the correct commands coming through.
Redacted sample of an update of Domain #104
[2015-06-10 16:42:43] INFO [panel] The domain alias <b>mydomain.test</b> was created. [2015-06-10 16:42:43] DEBUG [util_exec] [5578bd6355bc3] Starting: dnsmng /usr/local/psa/admin/bin/dnsmng '--update' 'mydomain.test' [2015-06-10 16:42:43] DEBUG [util_exec] [5578bd6355bc3] Finished in 0.06322s, Result: TRUE
[Code] .....
So from what I can see the domain +100 is re-creating the domain whereas domain 1 is not - it's just updating it, even though both json commands show the update statement coming through.
My plesk 12 is working, but one subscription doest show, or any of the domains.
Doing some digging got to this:
[root@server src]# /usr/local/psa/bin/sw-engine-pleskrun check_db_integrity-beta.php PHP Notice: Undefined variable: PLESK_DB_HOST in /usr/local/src/check_db_integrity-beta.php on line 240 List of records in [psa.domains.cl_id] that miss a matching record in [psa.clients.id] 0 List of records in [psa.dom_level_usrs.dom_id] that miss a matching record in [psa.domains.id] 27, 32, 36, 43, 61, 83, 86
[Code] ....
ERROR: Table "smb_apsImportedResources" is not found in database "psa"! ERROR: Table "smb_apsImportedResources" is not found in database "psa"! List of records in [psa.domains.webspace_id, cl_id WHERE webspace_id<>0] that miss a matching record in [psa.domains.id, cl_id WHERE webspace_id=0] 20:1, 52:1, 52:1, 52:1, 68:1
keep a local and remote backup of certain subscriptions or at least have a full server backup on FTP.
I have a livedrive.com reseller account which allows be to quite cheaply add 512GB of remote storage accessible through SFTP, FTP and WebDAV. I created this partition and added it as a server-level FTP repository in Plesk 12 (latest build). During testing I added a firewall exception for traffic on the FTP IP-address and figured that I had to put the FTP repository in passive mode to properly connect.
After setting this up I ran a configuration only backup to test if everything was working properly. The backup was created properly and can be accessed through the FTP as well: success!
My second test was running a full server backup through the manager. The ±40GB file was created properly (I could see my disk usage increase and decrease through new relic monitoring) and supposedly transferred to the FTP repository according to Plesk.
When I look at the FTP or the Plesk Backup Manager both indicate that the full server backup is 0kb in size.
After this issue I figured: I really don't care about a full server backup, I mostly care about a specific set of subscriptions that have new content on a daily basis and need to be backed up properly as well. Those subscriptions are already on a daily or weekly backup scheme that places backups on the local repository.
What I would eventually like to do is create daily or weekly backups on the local repository and create weekly or monthly backups on the FTP repository for those specific subscriptions, but unfortunately you cannot (by default) setup Plesk to automatically backup to local and remote based on different or even the same intervals.
And this is the more important question: How to be able to create/setup a backup automation that keeps local and remote backups for the same or different intervals? Either through the Plesk interface, a plugin or a script?
Running Plesk 12 on CentOS 6.6
Update:
Just tried running the same server wide backup, but this time as a multivolume backup. This resulted in the following error:
I am looking to add a mysql external source to my plesk. So far no difficulty.
My question is if I remove the mysql server where the currently plesk. I have to say to the panel get the information (psa, roudcube, horde) on the remote mysql to invez mysql local server?
I tried adding an apache service node to PPA Admin Node.
I referred to the specs at [URL] ....
Specifications of the Apache server node are:
RHEL 6.4 64bit RAM 3GB CPU 2.5GHz Free Space 18GB Ports Opened: 80, 443: HTTP, HTTPS 8352-8999: Communication between a service node and PPA panels 22: Communication through SSH 20, 21: FTP connections
But when I tried adding it as a service node, PPA says The Linux platform installed on the remote host 'xx.xx.xx.xx' is not supported. Please, check the list of supported platforms.
I seem to have an error with backing up to my personal FTP repository. I have only just noticed the issue, but i believe it originated when I upgraded Plesk Panel 11 to Plesk Panel 12. I am currently running version 12.0.18 on Cent OS 6.5.
Note whether i check the "Use passive mode" option makes no difference to my problem.Below is what I get from the panel.log under /usr/local/psa/admin/logs
I have installed Plesk Panel in a Windows 2008 R2 server but i need to use an EmailEnable Sever installed on another Windows 2008 R2 Server. Is it possible to manage that?
I have an account which used a remote MSSQL server which I have since deactivated, but before deactivating I forgot to remove the DB and Server from plesk.
So now I can't remove the remote MSSQL server from plesk as there is a DB associated with it, and I can't remove the DB because it obviously can't find the remote server! I'm now stuck in a loop!
How I can force remove the DB/User from plesk and then the remote server ? I'm now receiving errors whilst backing up the account, so needs to be done.
I'm using Plesk 12.0.18 version with Windows 2012. I need to backup files to remote ftp server. Remote server configuration is Windows 2012 with IIS server. It works with ftp clients very well.
But, i have a problem about Personel FTP Repository. I open Personal FTP Repository Settings and write all boxes with true information about remote ftp server but it says "Transport error: unable to list directory: Curl error: Login denied".
Ftp server works fine with ftp clients and cpanel backups.
I just noticed that in our first zone, every record has a TTL of 900. All three nameservers in our system are handing out the same incorrect TTLs (easily visible via AXFR, and expected since two are slaves). Operations > Customers > Customer > Domains > domain shows every record in this zone has a TTL of 42300. The DNS resource's Activation Parameters and zone's SOA are set as follows:
Refresh 43200 Retry 600 Expire 2419200 Min TTL 900 Default TTL 43200 (for the resource; not editable for the zone)
PPA seems to be silently using the Min TTL to override the zone records that it shows with the desired TTL on screen. Changing the Min TTL in the SOA for a zone changes the TTL of all records.
This zone has both template-generated and manual records.
I have installed Parallels Plesk 12.0.18 installed on my Windows Server. I have found issues with my DNS and SOA records having issues it says I have not configured my DNS and SOA records when I do a DNS diagnosis.
setup my configure the records for me correctly so that my domains issues could be solved. You can see a link below to know the errors I have for my domain name. I have hosted multiple domain names on the same server with Plesk.
It seems that changing the IP of a web site (which I can't get to work) reactivates records from the default DNS template that have been deactivated...for example the default TXT records are activated, so now the domain may have two SPF records, only one of which is correct. Having multiple A or other records is potentially worse, if, say, "mail." now points to the wrong server.