• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Error: Incorrect DNS record values were specified.

LegionFX

Basic Pleskian
So everytime i try to add websitequick preview on hosted domain i get this.
I have this problem since forever i hosnestly i cant find a solution.

My DNS template :

<domain>. NS ns2.xxx.xx.
<domain>. NS ns1.xxx.xx.
<domain>. A <ip.web>
<domain>. MX (10) mail.<domain>.
<domain>. TXT v=spf1 +a +mx -all +a:<hostname>
ftp.<domain>. CNAME <domain>.
mail.<domain>. A <ip.mail>
webmail.<domain>. A <ip.webmail>

My Main domain dns :

xxx.pt. MX (10) mail.xxx.pt.
lists.xxx.pt. CNAME xxx.pt.
clientes.xxx.pt. A MAIN IP
google._domainkey.xxx.pt. TXT v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDHzXqlozQP6EjtGG/W7ckp0QQB0iw+iyxLkOBMb3DhTU+sePDd79MJ74A3hqTU4Z0tMizFA2vfMdWp/YgZFvxmORFzh7KiYLozAmJhL51O4jvK/5pgCm+wnNhaxgeb/h3VvVnhAc3PEK56QgJm9L2dBcBN1Q+loZbcCB9oSrvG9QIDAQAB
ftp.xxx.pt. CNAME xxx.pt.
mail.xxx.pt. A MAIN IP
xxx.pt. NS ns2.xxx.pt.
webmail.xxx.pt. A MAIN IP
xxx.pt. A MAIN IP
xxx.pt. NS ns1.xxx.pt.
sites.xxx.pt. CNAME ghs.googlehosted.com.
email.xxx.pt. CNAME ghs.googlehosted.com.
xxx.pt. MX (5) alt2.aspmx.l.google.com.
xxx.pt. MX (5) alt1.aspmx.l.google.com.
xxx.pt. MX (0) aspmx.l.google.com.
xxx.pt. TXT v=spf1 mx include:_spf.google.com ~all
xxx.pt. MX (10) aspmx2.googlemail.com.
xxx.pt. MX (10) aspmx3.googlemail.com.
drive.xxx.pt. CNAME ghs.googlehosted.com.
calendario.xxx.pt. CNAME ghs.googlehosted.com.
ns2.xxx.pt. A DNS 2 IP
ns1.xxx.pt. A DNS 1 IP
www.xxx.pt. CNAME xxx.pt.

Any help would be apreciated. This is bugging me since version 11 of plesk
 
Try to find this incorrect record in dns_recs_t table of psa database and remove it. Also you can try fix it with

# plesk repair dns
 
plesk psa database contains this :

<domain>. NS ns2.xxx.xx.
<domain>. NS ns1.xxx.xx.
<domain>. A <ip.web>
<domain>. MX (10) mail.<domain>.
<domain>. TXT v=spf1 +a +mx -all +a:<hostname>
ftp.<domain>. CNAME <domain>.
mail.<domain>. A <ip.mail>
webmail.<domain>. A <ip.webmail>

so nothing wrong from my point of view.
plesk repair dns :
Error messages: 0; Warnings: 0; Errors resolved: 0

im lost :(
 
Hi LegionFX,

you could use:

plesk db

... to connect to your psa database over the command line

Now you can list the possible results in your psa database:
Code:
select domains.name as domain, dns_recs.id as dns_recs_id, dns_recs.host, dns_recs.type, dns_recs.val from domains, dns_recs where domains.dns_zone_id=dns_recs.dns_zone_id and dns_recs.host like 'www.%' and domains.name='DOMAIN.TLD';

... which may look like this:
Code:
+---------------+-------------+--------------------+-------+----------------+
| domain        | dns_recs_id | host               | type  | val            |
+---------------+-------------+--------------------+-------+----------------+
| DOMAIN.TLD    |          XX | www.DOMAIN.TLD.    | CNAME | DOMAIN.TLD.    |
+---------------+-------------+--------------------+-------+----------------+

... and afterwards, you might delete the found record with:
Code:
delete from dns_recs where id=XX;
( "XX" is the ID of the found record )
 
i see where you are getting however :

+-----------+-------------+----------------+-------+------------+
| domain | dns_recs_id | host | type | val |
+-----------+-------------+----------------+-------+------------+
| xxx.pt | 15 | www.xxx.pt. | CNAME | xxx.pt. |
+-----------+-------------+----------------+-------+------------+

then:
MariaDB [psa]> delete from dns_recs where id=15;
Query OK, 1 row affected (0.05 sec)

Record deleted. And still:
Error: Incorrect DNS record values were specified.
when trying to put that domain to website quickpreview.
 
Back
Top