2 DNS servers on different servers

streamservice

Verified User
Joined
Dec 14, 2005
Messages
173
Location
The Netherlands
Hello,

Can anybody tell me how i can make it so that Direct Admin can work whit 2 DNS servers on 2 different servers?

Let me explain what i want and have:
I have 2 servers (both whit direct admin and Debian 3.1)
I want on server1 ns1.domain.tld and on server2 ns2.domain.tld.
For changing a record you should only need to login on one off the servers and the other server should also get this new information.
I also want that server2 is the mail fallback off server1 and server1 is the mail fallback off server2. The domain names should only be added once and the e-mail should be sent to the other server when the other server is back online.

How can i do that?

Thank you
 
Hi, from the feature link above:
If you don't have an DA connection on the other end, this feature can be used to connect with apache. The user/pass is the standard base64 Basic Authentication.
Can you/anyone elaborate on how this works?
 
jmstacey said:


I did try this again today, but the multi server can't be enabled. I don't know why (DirectAdmin doesn't show why). I did test the connection, but this didn't gave an error:
85.12.26.30 DirectAdmin v1.26.1 connection OK.

Could someone say what I should do? The connection is possible. I have APF firewall enabled for security.
 
Enable port 2222 (or the port you ar using if it's different) for outgoing connections in your firewall.
 
I did open port 2222 fot outgoing connections for so far i can see:
Code:
# Egress filtering [0 = Disabled / 1 = Enabled]
EGF="0"

# Common egress (outbound) TCP ports
EG_TCP_CPORTS="21,25,37,53,80,110,113,123,443,43,873,953,2703,3306,2222,22"

# Common egress (outbound) UDP ports
EG_UDP_CPORTS="20,21,53,873,953,6277,2222"

Has anybody an idea how I can fix this problem?
 
Did you restart your firewall after changing the ruleset?
This sounds exactly like the problem I had and the fix was to allow the DA port to connect from the server to another.


From the commandline try...

# wget http://<otherserverip>:2222

See what the result is, if it's HTML and contains the DA login screen then we have to look further.
 
Code:
server2:/usr/local/sbin# wget [url]http://85.12.26.30:2222[/url]
--23:18:12--  [url]http://85.12.26.30:2222/[/url]
           => `index.html'
Connecting to 85.12.26.30:2222... connected.
HTTP request sent, awaiting response... 401 Unauthorized
23:18:12 ERROR 401: Unauthorized.

server2:/usr/local/sbin#

I did restart the APF firewall (./usr/local/sbin/apf -r) for so far I can see. I now also restarted the server (this didn't help).
 
Last edited:
Back
Top