Migration finished with warning: expected 1 record(s) 'domain.tld. A 10.10.10.10', got 2 record(s)

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 12.5 for Windows

Created:

2016-11-16 13:25:01 UTC

Modified:

2016-12-21 20:40:01 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Migration finished with warning: expected 1 record(s) 'domain.tld. A 10.10.10.10', got 2 record(s)

Symptoms

Migration finished with warning:

*Warning:* *Restore DNS zone* "example.com"
The DNS server at 10.10.10.20 returned incorrect DNS records. Here is
the difference: expected 1 record(s) 'example.com. A
10.10.10.10', got 2 record(s) 'example.com. A 10.10.10.10', '
lustdeco.galeriaoops.com. A 10.10.10.20' Make sure that: 1. The DNS zone
of this domain exists in target Plesk and is enabled. 2. All desired DNS
records exist in target Plesk and are active.

Source server is behind NAT.

Cause

Duplicate entries for domain in dns_recs table.

Resolution

  1. Backup psa database

  2. Find duplicate entry:

    mysql> select id, host, type, val, displayHost, displayVal from dns_recs where val like "%example%" and type='PTR';
    +-------+--------------+------+-------------+--------------+-------------+
    | id | host | type | val | displayHost | displayVal |
    +-------+--------------+------+-------------+--------------+-------------+
    | 15442 | 10.100.77.5 | PTR | example.com.| 10.10.10.10 | example.com.|
    | 15457 | 200.6.114.85 | PTR | example.com.| 200.10.10.10 | example.com.|
    +-------+--------------+------+-------------+--------------+-------------+
  3. Remove PTR record that resolves on private IP address:

    mysql> delete from dns_recs where id=15442;
Have more questions? Submit a request
Please sign in to leave a comment.