i have to delete all PTR records in over 80 domains in a Plesk 12 panel, when i tried to run the dns command to remove the PTR record from a domain, i got the error :
Code: Unable del record in DNS server: unable find DNS record ...
There is a KB article about this specific problem : [URL] .... , but it refers to older Plesk versions (8.x-10.x). I gave it a shot by copying the fix file from all 3 different versions to /usr/local/psa/admin/plib/api-common/ and i got the following PHP errors:
PHP Warning: include_once(class.PHostingManager.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4 PHP Warning: include_once(): Failed opening 'class.PHostingManager.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/externals'); File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4
Is there any workaround this PTR issue? Also, is Parallels going to update the article and provide solution for Plesk 12?
A customer wanted me to install the Google Apps MX records. However, it seems that they are not being created in Route53, at all.
Also if I delete the existing MX reccord the change does not reflect to Route53. Try to replicate?
Fact is that you've put this module in the catalog and would get in touch with you guys to tweak it to perfection as I think it can be a real USP for small hosters like me as this utilises the power of Amazons giant network yet you only have one server to take care of for all your regular hosting.
Impossible to delete my PTR record (DNS) on a domain name. Message error: Impossible de restaurer la zone DNS : une erreur s'est produite en ajoutant l'enregistrement (IPv6 du serveur) IN none mondomaine.fr. : Des valeurs incorrectes ont été indiquées pour l'enregistrement DNS.
How to get plesk (12) to set the SOA record properly on existing domains?
Let me explain the issue first. We use PowerDNS supermaster mode as slave servers. The way this works is we configure PowerDNS so that it sees the plesk server as a so called supermaster.
When a so called supermaster notifies the slave servers on a zone update, if it doesn't exist it just adds the zone and pulls it in. This works very nice and without any scripting required (there's only the issue of removing them, I just have a script that deletes all domains that haven't been able to update in 2 weeks every day from the database).
The only issue here is that BIND does *NOT* ever notify the nameserver listed in the SOA. The nameserver listed in the SOA should be the master (and hence - thus plesk itself) and it being a master it should be where the changes occur and notifying it isn't necessary thus, which is why BIND doesn't do that.
Unfortunately plesk doesn't seem to grasp this concept. It will happily put any nameserver in the SOA record. Have adjusted the template and it seems to work ok for new domains now (not sure how reliably though), but it's a major pain for the existing ones. It's very hard to update them properly.
Reapplying template -> no change to master NS/SOA Switching mode to slave and back to master -> no change to master NS/SOA Resetting to default -> no change to master NS/SOA
The only way I've found so far is to delete the records manually, add them again and hope it doesn't change the order (yes it does this a lot, you'll have the correct order listed, click apply and the order just changes. Some times it adds them to the bottom of the list, some times to the top - not confusing at all).
Plesk really should be taught that if it's master, it should be the one in the SOA. Whilst my issue is larger due to the supermaster and slaves not creating the zone (and hence my slave not functioning), it is an issue in any setup because a slave listed as SOA will not be notified and doesn't pick up on the changes right away. Depending on the refresh times it might take quite some time for the slave to pick up the change then, which isn't desirable either as it will leave you with a slave that still returns incorrect records.
However, when we update the resource record in the DNS template and then "Apply the changes to all zones...",
Panel will apply changes from the template to all DNS zones including the customized ones. Note that user-modified records always remain intact. For example, if the template contains a new record that was already added by a customer, Panel will keep the customer's record.Click to expand...
Although running >> /usr/local/psa/bin/dns --info dev.sname.c002.aname.domain.com >> shows the 'ecz1' TXT record exists for "dev.sname.c002.aname.domain.com" : ... ecz1.dev.sname.c002.aname.domain.com. TXT ecz1
The issue can be caused by extra spaces in the TXT record:
Code: [root@a10-52-143-28 ~]# /usr/local/psa/bin/dns --add dev.sname.c002.aname.domain.com -txt 'ecz1 ' -domain ecz1 SUCCESS: Creation of DNS record in Domain 'dev.sname.c002.aname.domain.com' complete. [root@a10-52-143-28 ~]# /usr/local/psa/bin/dns --del dev.sname.c002.aname.domain.com -txt 'ecz1' -domain ecz1 Unable to del record in DNS server: unable to find DNS record
In the following example I have 3 such TXT records with 3, 5, 7 extra spaces and remove record with 3 spaces:
Code: [root@a10-52-143-28 ~]# mysql -u admin -p`cat /etc/psa/.psa.shadow` psa -e "select host, val, (length(val) - length(rtrim(val))) as extraspaces from dns_recs where host='ecz1.dev.sname.c002.aname.domain.com.' and val like 'ecz1%'" +---------------------------------------+-------------+-------------+ | host | val | extraspaces | +---------------------------------------+-------------+-------------+ | ecz1.dev.sname.c002.aname.domain.com. | ecz1 | 5 | | ecz1.dev.sname.c002.aname.domain.com. | ecz1 | 3 |
1/ What is the difference between maillog and maillog.processed? I want to keep a permanent record of all mail inbound and outbound even if delivery is deferred by the gray listing. I'm not sure which one is the best to keep.
2/ I would like to change the way that the mail logs get log rotated. I am struggling to work out exactly what happens at the moment but I would like to rotate the log out every day regardless of size. I think currently that the maillog.processed is rotated daily if it is over a specific size.
I'm having difficulty sending an email to another email address (with a different domain) which is on the same VPS.The trouble is, on the other domain's VPS control panel, within the DNS settings, the MX records have been pointed externally (to an exchange server). Their email is turned off. But bizarrely, their mailbox is full.
It seems as though Plesk is ignoring the MX records, and sending MY email internally to the OTHER domain's mailbox on the same VPS.How do I get Plesk to send my mail to the correct EXTERNAL MX records?
I am currently having a few technical difficulties with configuring my PLESK server to accept an A Record from another domain. Perhaps I have been going about this all wrong but I will explain what I am trying to do and how I have currently been trying to get it to work. Hopefully you might have a suggestion for me to try.
We currently run an On-Demand web design platform. This CMS can be completely rebranded for our Partners who can then sell this facility to their clients. There is only one installation of the code base but we need to give our partners a their own web address to access the cms.
For example: cms.altstudio.com.au cms.pcgraphicart.com.au
cms.pcgraphicart.com.au has been set up as a domain alias. The reason this is working is because the primary domain pcgraphicart.com.au is also hosted on this server.
So I thought if the partner has their domain delegated elsewhere then I could simply get them to create an A record for their chosen subdomain and point it to our IP address, then I could configure the domain alias again for their particular A record and hey presto. Unfortunately not so easy.
Here are two of the examples of what is happening
cms.newlight.com.au - their root domain is delegated elsewhere, but they have created an A-record for that subdomain and pointed it to 22.214.171.124. Now it reaches my server as I see a PLESK error page at that address.
At this stage I don't really know what to try to get PLESK to register that entry. I have created a domain alias for cms.newlight.com.au on the cms.altstudio.com.au account but it didn't pick things up.
With provided information at [URL] .... did not work? when setting it up in control panel -> domain's dns panel and plesk version is 11.0.9
It needs the following DNS records
Record type: SRV Service name *: _Autodiscover Protocol name *: _tcp (it will automatically add your domain and to edit it again shows as invalid) Port number *: 443 Priority of service: very high(0) Weight of service: theres no 0 option so use 10 as the option and to edit it again shows as invalid) Target host *: use your mail ip address?
i have a simple reseller account to give my clients some hosting space. one specific client keeps the domain registered with his current domain registrar. to point the domain name at his new hosting account (provided by me) he's saying that he just needs the "a-record", not the nameservers that i gave him originally. i can not seem to find an a-record for my hosting accounts anywhere ...
my hosting support is saying the client will just need the IP address. but afaik ip address is not == a-record
can anyone clarify what an a-record is exactly and whether or not it can be interchanged with an ip address?
this is for a .co.uk domain name and my reseller account is with hostgator
I would like to setup SPF record for my domain. I am using Google Apps for the domain.
But I will also be sending mail from my vps server. Hence what should I use?
v=spf1 a include:aspmx.googlemail.com ~all
v=spf1 a mx ~all
If both works, which one is better? I will be sending emails from subdomains of my main site too, so do I need to anything special for that?
I am using ~all instead of -all, because I sometimes send emails from my development server(which is having dynamic ip). Hence I don't want those emails to rejected, even if they are marked as spam.[url]