roman_m
Verified User
Good idea, snk, I think I add this to next release. Also, checking for CGI module presence in ./lib might be useful.
This sounds great
One question, is DirectSlave compatible with the "Domain Check" feature of the multi-server setup?
If not, a malicious user with multi-domain privileges could really create havoc.
Both ip's from both servers are not present in the firewall. Ports 53 udp are open on both servers as well as 2222 which I configured in directslave.conf.141.xxx.xxx.xxx Unable to get api result. Check your configuration options.
/CMD_MULTI_SERVER
Post string: port-141.xxx.xxx.xxx=2222&user-141.xxx.xxx.xxx=admin&dns-141.xxx.xxx.xxx=yes&select0=141.xxx.xxx.xxx&passwd=mypassword&test=Test+Connection%28s%29&action=multiple
Checking referer http://www.mydomain.nl:2222/CMD_MULTI_SERVER to www.mydomain.nl:2222
Command::doCommand(/CMD_MULTI_SERVER)
Command::doCommand(/CMD_MULTI_SERVER) : finished
Command::run: finished /CMD_MULTI_SERVER
Sockets::handshake - begin
Sockets::handshake - end
background 1
server_type Fork
host 141.xxx.xxx.xxx (my non-DA vps ip where directslave is running on)
port 2222
debug 0
uid named
gid named
pid /usr/local/directslave/run/directslave.pid
access_log /usr/local/directslave/log/access.log
error_log /usr/local/directslave/log/error.log
action_log /usr/local/directslave/log/action.log
mode slave
named_workdir /var/named/slaves
named_conf /etc/secondary/named.conf
retry_time 1200
rndc_path /usr/sbin/rndc
allow 46.14.xxx.xxx (my da server ip)
auth admin#$(*@P$%#$% (mypassword)
This doesn't look like start-end
at /usr/lib/perl5/site_perl/5.8.8/Net/Server.pm line 602
This doesn't look like start-end
at /usr/lib/perl5/site_perl/5.8.8/Net/Server.pm line 602
This doesn't look like start-end
at /usr/lib/perl5/site_perl/5.8.8/Net/Server.pm line 602
This doesn't look like start-end
I have installed this but when testing the connection from my DA server it says this:
Both ip's from both servers are not present in the firewall. Ports 53 udp are open on both servers as well as 2222 which I configured in directslave.conf.
So I started DA in debug mode and then this is the result:
This is my directslave config (without the comments between brackets ofcourse):
What am I doing wrong? Why is DA not connecting to the secondary nameserver?
I want the VPS to be my secondary nameserver, so when my DA server goes down, one can still do lookups for the domains. Then I must use the slave setting, correct>
I don't understand what I'm doing wrong.
Do I need to have the rndc.key the same on both servers or something?
By the way... in the /usr/local/directslave/error.log I can see a lot of these lines:
Both servers are running Centos.
Did you get this resolved? If not, what solution did you end us using? And why not simply just use the DA multi server setup in DA?
allow 0.0.0.0/0 - list of allowed hosts in cidr format, must be
specified as ip/mask. 0.0.0.0/0 - allow all, or
list of values (212.109.44.44/32, 217.20.163.14/32)
You can also use it in a smaller VPS than you'd otherwise need for DirectAdmin.you can set it up on any in-production OS (which have perl installed, even on Windows, using bind-w32 and strawberry perl, LOL) without breaking system functionality.