• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Issue Slave DNS Manager additional logic

Denismaster

New Pleskian
Server operating system version
Cloudlinux 8
Plesk version and microupdate number
18.0.70 #1
Hi

I have 3 servers with Plesk, there are two external DNS

The servers are connected to DNS via the Slave DNS Manager plugin

If a domain is created on one server, on the other it is possible to create a subdomain for this domain and Slave DNS Manager does not check in any way whether this domain is available and simply allows you to create

I know about the options:

1. Forbidden domains
2. Forbid the creation of domains that are resolved to other servers

But I need a solution so that when creating a domain or subdomain, a check occurs - whether this domain is on my DNS servers, if it is - do not create a DNS record

Please tell me how this can be implemented
 
@Denismaster

The statement

I have 3 servers with Plesk, there are two external DNS

leaves me with the question : external DNS on Plesk servers?

Stated differently, do you use an external nameserver provider or do you use Plesk based DNS with "duplicates" on other Plesk servers?


The solution that you search for

But I need a solution so that when creating a domain or subdomain, a check occurs - whether this domain is on my DNS servers, if it is - do not create a DNS record

can be obtained by using an external nameserver provider.

That is the best solution, for many many reasons.

In essence, it is quite an elaborate, time-consuming and difficult task to maintain nameservers that meet all (obligatory) requirements and that are also fast in terms of propagation to the internet backbone.

The "solutions" offered by Plesk are merely tools to assist, they are not actual solutions that allow the creation of a viable set of nameservers.

In addition, the "solutions" offered by Plesk are prone to (considerable) delays in propagation - this is never desirable.

The external nameserver provider, if and only if you choose a proper one, will maintain a set of reliable and viable set of nameservers ..... without the hassle (and in most cases, without any additional costs if you get the domains from that provider).


The behavior

If a domain is created on one server, on the other it is possible to create a subdomain for this domain

is normal and is "as to be expected".

In a normal scenario, it should not be prohibited in any way to create subdomains on a server if the domain is hosted on another server.
Nevertheless, it is not convenient and it should - in theory - not be possible to created identical subdomains or domains on two or more servers.

Please note the difference : "division" of domains and subdomains is allowed, "duplication" of domains or subdomains should not be allowed.

If I am not mistaken, Slave DNS manager does not make that distinction - it simply is a "tool" to replicate DNS settings from one Plesk instance to another.


The solution requested, being

But I need a solution so that when creating a domain or subdomain, a check occurs - whether this domain is on my DNS servers, if it is - do not create a DNS record

is essentially suboptimal, in the sense that you are searching within an environment that - apparently - is not optimal for you.

Stated differently, you search for a workaround of symptoms associated with the current environment.


In fact, what you need is a stable DNS server that is part of a nameserver cluster whose entries are not changed with specific entries on one cluster member.

The problem here is that Plesk does not offer "tools" or "solutions" to create a proper nameserver cluster.

The Slave DNS Manager extension is also not intended to function as a tool that allows for the creation of a nameserver cluster.

The Slave DNS Manager extension is simply intended to duplicate DNS records across Plesk instances, in a not-so-optimal way.


In conclusion, you can make use of the (often free) services of external nameserver provider (or create your own nameserver cluster with open source).

I can only recommend to go for the easy option : use external nameserver providers.

I can also recommend to be very selective when choosing a nameserver provider : choose one with fast propagation.


I hope the above helps a bit!


Kind regards....
 
Back
Top