[POLL] DirectAdmin MultiServer feature for slave DNS without DirectAdmin itself?

Are you interesting in it?


  • Total voters
    4
  • Poll closed .
Ok, i stay tuned till that :D

ricardo, is the ability to have multiple user with different password so you can user different login credential for different linked directadmin server.

Regards
 
ricardo, is the ability to have multiple user with different password so you can user different login credential for different linked directadmin server.

Ah I get it, very handy feature indeed for multi server setup. Thanks for the info.

Script is still running and working =)
 
i got this from non-DA server (centos 5.8) as slave:
Code:
[root@ridgway namedb]# /usr/local/directslave/bin/directslave
"rearrange_header" is not exported by the CGI::Util module
Can't continue after import errors at /usr/local/directslave/bin/../lib//CGI.pm line 28
BEGIN failed--compilation aborted at /usr/local/directslave/bin/../lib//CGI.pm line 28.
Compilation failed in require at /usr/local/directslave/bin/directslave line 7.
BEGIN failed--compilation aborted at /usr/local/directslave/bin/directslave line 7.

please tell how to fix it, thank you :)
 
i got this from non-DA server (centos 5.8) as slave:
Code:
[root@ridgway namedb]# /usr/local/directslave/bin/directslave
"rearrange_header" is not exported by the CGI::Util module
Can't continue after import errors at /usr/local/directslave/bin/../lib//CGI.pm line 28
BEGIN failed--compilation aborted at /usr/local/directslave/bin/../lib//CGI.pm line 28.
Compilation failed in require at /usr/local/directslave/bin/directslave line 7.
BEGIN failed--compilation aborted at /usr/local/directslave/bin/directslave line 7.

please tell how to fix it, thank you :)

You need to install the perl modules that are written in the readme and this may help

http://library.linode.com/linux-tools/utilities/cpanm#sph_installing-cpan-minus
 
Hi all ;)

First, thank's for directslave, it's perfect :D

But I have a little problem with named.conf write.

When I create a domain on my first server, the command is correctly received by the second server but I have an error when the directslave file is running.

There is my error.log:

Use of uninitialized value in length at /usr/local/directslave/bin/directslave line 108.
Use of uninitialized value in length at /usr/local/directslave/bin/directslave line 108.
flock() on closed filehandle SEC at /usr/local/directslave/bin/directslave line 177.
print() on closed filehandle SEC at /usr/local/directslave/bin/directslave line 178.
flock() on closed filehandle LOG at /usr/local/directslave/bin/directslave line 229.
printf() on closed filehandle LOG at /usr/local/directslave/bin/directslave line 230.

My systeme is on Debian Squeeze and it is updated.. I'm not a perl dev so I can't resolve this problem by myself.

I have search on google but I have'nt found anything.

Thank's :)
 
Hello,

My guess would be that you either must be using unsupported version of perl or missing some perl modules...
 
Hello,

First, thank's for your answer.

I have tried with 5.10.1 version of perl and it doesn't work.
I will try with 5.16.1 version and I'll let you know.

Thank's ;)
 
On Ubuntu Precise Pangolin 12.04 (64-bit) I got this error

Can't locate Config/Auto.pm in @INC (@INC contains: /usr/local/directslave/bin/../lib/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./directslave line 10.
BEGIN failed--compilation aborted at ./directslave line 10.

please help
 
On Ubuntu Precise Pangolin 12.04 (64-bit) I got this error

Can't locate Config/Auto.pm in @INC (@INC contains: /usr/local/directslave/bin/../lib/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at ./directslave line 10.
BEGIN failed--compilation aborted at ./directslave line 10.

please help

Install the perl module then.
 
Hello

Now i have got the script up and communicate well with Direct Admin, it gets synchronized zone files fine. But the reload not zones.

I run Ubuntu Linux 11.04

I got this error in debug mode

flock() on closed filehandle SEC at /usr/local/directslave/bin/directslave line 178.
print() on closed filehandle SEC at /usr/local/directslave/bin/directslave line 179.
 
Hello

Now i have got the script up and communicate well with Direct Admin, it gets synchronized zone files fine. But the reload not zones.

I run Ubuntu Linux 11.04

I got this error in debug mode

flock() on closed filehandle SEC at /usr/local/directslave/bin/directslave line 178.
print() on closed filehandle SEC at /usr/local/directslave/bin/directslave line 179.

Check paths for existence and access rights on paths described in directslave.conf

named_workdir /etc/namedb/secondary
named_conf /etc/namedb/directslave.conf
 
On more recent installations we've been running the script as root.

Jeff
 
Check paths for existence and access rights on paths described in directslave.conf

named_workdir /etc/namedb/secondary
named_conf /etc/namedb/directslave.conf

Here is some paste from my conf file.

HTML:
uid             bind
gid             bind

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            master
named_workdir   /etc/bind/secondary
named_conf      /etc/bind/secondary/named.conf
retry_time      1200
rndc_path       /usr/sbin/rndc

The folder "/etc/bind/secondary" is owned by the bind user and group, but is the bind user alowed to run the "/usr/sbin/rndc" or its only the root user ?
 
Are you guys interested in that? It's a perl daemon I created and used near a month. Not faced any troubles in test period.

http://mazur.net.ua/download/directslave-1.2.tar.gz

Benefits:
+ listen to tcp 2222 and imitates DirectAdmin /CMD_API_DNS_ADMIN (port can be changed in config)
+ acts as daemon with given uid/gid (bind (53), for example) for security & access to named.conf reason (named.conf is not system named.conf, just include from it)
+ no need for rsh/rsync
+ configurable via single config file (uid gid logs and many other things)
+ can serve parallel requests from about 10 servers (I wasn't tested a high-load, because I don't have so many DA servers :)
+ acts as master or slave mode (slave = just write named.conf entry for zone, master = writes named.conf entry & zone.db itself)

Limitations:
- no rc.d file (correct this in nearest time ;)
- still old good perl, needs for CPAN-installed modules

Do not forget to read README.

Thank you. I realize this is a very old thread but im wondering, why would i need to use this if DA already has Multi server setup?
Is this for servers that do not run DA? If so, where would this software be installed? On a DA server or non DA server?
 
I realize this is a very old thread but im wondering, why would i need to use this if DA already has Multi server setup?
Is this for servers that do not run DA? If so, where would this software be installed? On a DA server or non DA server?

You can use this on standalone slave DNS server without Directadmin itself. This software provide usage of "Multiserver" DA feature between two or more Directadmin-enabled servers and one which doesn't have Directadmin. The main trick of this software is you can install it on any server, which does not have Directadmin installed, when just connect your current Directadmin servers to use your non-Directadmin server as secondary DNS.
 
Back
Top