Wildcard subdomain in dns cluster

elsevi

Verified User
Joined
Jan 27, 2020
Messages
30
Hello community, I have a dilemma, in case you can solve it.

I created a wildcard subdomain like *.temp.domain.com

This subdomain is for users that I register as user hosting that do not have their own domain, for example choose: nameclient.temp.domain.com

When you register it, the system assigns you a hosting account of the 5 servisors that we have, logically, according to the balance of the same.

Note that the first server is the DNS master and the others are slaves, that is where I have configured the wildcard as the main domain: temp.domain.com and with record A with @: *.temp.domain.com (If I put whatever it is in front of ".temp.domain.com" points correctly to the master server.

The dilemma is that if the client falls on a server other than the DNS master, it does not make redundancy of the chosen subdomain.
I have the sclaves well configured, since the normal domains if they do redundancy, fall where they fall.

Do you know why it can be?

I appreciate the help.
 
Hello,

With DirectAdmin on a board you might use its native multi-server feature to share DNS records among servers, instead of using master-slave scheme. This should your issue with pointing temp domains for users to a correct IP.
 
Hello,

With DirectAdmin on a board you might use its native multi-server feature to share DNS records among servers, instead of using master-slave scheme. This should your issue with pointing temp domains for users to a correct IP.
I use this functionality, but it does not work correctly yet.
 
If it's correctly configured, then it should work absolutely correctly. There is no Master/Slave DNS server in terms of DirectAdmin multiserver function. If you want changes done on any of your servers to be transmitted to all nameservers, then you need to configure a bidirectional replication on MultiServer page:

1. on a server #1 you add server #2, server #3, server #4 and server #5
2. on a server #2 you add server #1, server #3, server #4 and server #5
2. on a server #3 you add server #1, server #2, server #4 and server #5
etc.

This way changes done in DNS on one server will be copied to other 4 servers.

As a side effect you might get a DNS page loading speed reduce.
 
I understand. I only had it set up on server 1, 2, 3 and 4. I'll set it up as you indicate and update the result. Thank you.
 
Back
Top