View Full Version : 2 DNS servers on different servers
streamservice
12-14-2005, 08:24 AM
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
jmstacey
12-14-2005, 09:28 AM
For the DNS stuff take a look at this:
http://www.directadmin.com/features.php?id=533
Setup of backup email servers has been covered in these forums before. Try searching for a solution, then ask specific questions you might have if you're still having trouble.
Spook
01-16-2006, 04:01 AM
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?
streamservice
01-18-2006, 01:48 PM
Originally posted by jmstacey
[B]For the DNS stuff take a look at this:
http://www.directadmin.com/features.php?id=533
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.
resolveit
01-18-2006, 04:02 PM
Enable port 2222 (or the port you ar using if it's different) for outgoing connections in your firewall.
streamservice
01-19-2006, 01:33 PM
I did open port 2222 fot outgoing connections for so far i can see:
# 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?
resolveit
01-19-2006, 01:57 PM
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.
streamservice
01-19-2006, 02:24 PM
server2:/usr/local/sbin# wget http://85.12.26.30:2222
--23:18:12-- http://85.12.26.30:2222/
=> `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).
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.