• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Issue private IP instead of public in DNS settings when migrating to server with private IP

Zaxos Dogganos

New Pleskian
I guess this is easy to confirm, and it looks like a bug (I can't think of it as a feature).

So, I have a plesk virtual server (12.5) with a private IP and the public IP configured in IP addresses.

Now I'm migrating a domain from another plesk (12.5) server to the above server and the DNS settings that are set up are showing the private address instead of the public! It says for example in DNS settings that the A record for my domain is 172.31.1.100, which is the private IP of my server.

In order to fix the problem I need to select 'Reset to default' for the zone and then the zone get the public IP and all is good. Shouldn't it from the beginning get the right IP?

In addition to this, trying to automate the fix using the cli, I get yet another problem trying to reset the zone:

# /usr/local/psa/bin/dns --reset mydomain -ip myPublicIP
Error restoring DNS zone:IP does not exist or belongs to IP pool of another customer

It does not recognize the public IP where I guess it should.

Any ideas? Do these look like bugs or am I doing something wrong?
 
This is a funny one, we've seen this ourselves on a Plesk server with a private IP that shouldn't be used by Plesk at all. What we did was:
1. Set the private IP as dedicated.
2. Created a dummy 'plesk.internal.dontuse' subscription and configured it to use the dedicated private IP.
Looks and it probably is ugly, but it solved the problem for us. We haven't seen any side effects so far.
 
Back
Top