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

Are you interesting in it?


  • Total voters
    4
  • Poll closed .
Hi.
I just want to figure out how any IP addresses do I need.

As I understand it:
1x DirectAdmin
2x ns1, ns2 (on the same machine)
1x IP for DirectSlave
4 IPs in total.

Is that corrent?
Is what the point of having two IPs assigned to one machine? If it goes down both IPs are goind down.
Shouldn't it be sth like:
1x DA
1x ns1 (on DA machine)
1x ns2 (on DirectSlave)
3 in total?

With regards,
Tomasz Tancula
 
HI Tomasz,

both are wrong actually, you need 1 IP per box.

1 IP for DA, that itself can be considered NS1
1 IP for DS, that will work as Slave DNS Server with DirectSlave itself

Other people use other way to do that, for example i do have 2 exetrnal NS Server, so DA is not working as NameServer, so i got 3 server each one with 1 IP.

Otherwise, if you have just 1 Server, to acchieve the DNS RFC that require 2 NS with different IP, you need 2 IP on the same server.

That's it.

Regards
 
So should I setup DA with one IP and then in 'Multi Server' connect two remote server with 1 IP each?
If so I have a domain that I want to use with da like: da.domain.com (eg 10.10.10.100)
Then how to glue DNS to ns1.domain.com (10.10.10.101) and ns2.domain.com (10.10.10.102) both on different remote machines?
I used option "With 2 Selected IP's create ....." before. That was when I glued a domain to DA. But when sth happened to DA, DNS also stopped. That why I want to use DA with DirectSlave.
 
Yes you can use 3 boxes this confugured:

Box 1: DA
Box 2: DS
Box 3: DS

Once configured the DS Servers, you can enable the Multi-Server Setup in DA adding those two DS boxes, remember to make the needed change on named.conf to "allow transfer" and "also notify" with the two DS Server IP

Regards
 
So I will not use "With 2 Selected IP's create ....." on 'reseller level' this time?
Just manually assign ns1 to IP of 1st DS and ns2 to 2nd IP in DNS aqdministration on 'admin level'?
 
No, you don't need that. You just need to select ns1 and ns2 in admin settings, all domain will use those.

On the domain hosting ns1.domain.com and ns2.domain.com you need to add 2 A record for ns1 and ns2 with the correct IP and at your domain registar you need to register those nameservers with their IP.

Regards
 
I set up DS server but when I add new domain I get:

Jul 16 22:41:47 ns1 named[3673]: received control channel command 'reload'
Jul 16 22:41:47 ns1 named[3673]: loading configuration from '/etc/named.conf'
Jul 16 22:41:47 ns1 named[3673]: reading built-in trusted keys from file '/etc/named.iscdlv.key'
Jul 16 22:41:47 ns1 named[3673]: using default UDP/IPv4 port range: [1024, 65535]
Jul 16 22:41:47 ns1 named[3673]: using default UDP/IPv6 port range: [1024, 65535]
Jul 16 22:41:47 ns1 named[3673]: sizing zone task pool based on 6 zones
Jul 16 22:41:47 ns1 named[3673]: Warning: 'empty-zones-enable/disable-empty-zone' not set: disabling RFC 1918 empty zones
Jul 16 22:41:47 ns1 named[3673]: reloading configuration succeeded
Jul 16 22:41:47 ns1 named[3673]: reloading zones succeeded

So there is only localhost zone. Nothing is added to /etc/named/secondary/
 
Last edited:
DA:
Jul 18 17:57:02 da named[11564]: loading configuration from '/etc/named.conf'
Jul 18 17:57:02 da named[11564]: reading built-in trusted keys from file '/etc/named.iscdlv.key'
Jul 18 17:57:02 da named[11564]: using default UDP/IPv4 port range: [1024, 65535]
Jul 18 17:57:02 da named[11564]: using default UDP/IPv6 port range: [1024, 65535]
Jul 18 17:57:02 da named[11564]: sizing zone task pool based on 13 zones
Jul 18 17:57:02 da named[11564]: Warning: 'empty-zones-enable/disable-empty-zone' not set: disabling RFC 1918 empty $
Jul 18 17:57:02 da named[11564]: couldn't add command channel 127.0.0.1#953: address in use
Jul 18 17:57:02 da named[11564]: reloading configuration succeeded
Jul 18 17:57:02 da named[11564]: reloading zones succeeded
Jul 18 17:57:02 da named[11564]: zone anotherdomain.com/IN: loaded serial 2016071809
Jul 18 17:57:02 da named[11564]: zone anotherdomain.com/IN: sending notifies (serial 2016071809)
Jul 18 17:57:02 da named[11564]: zone e-poltel.com/IN: loaded serial 2016071809
Jul 18 17:57:02 da named[11564]: zone da.e-poltel.com/IN: loaded serial 2016071809
Jul 18 17:57:02 da named[11564]: zone newdomain.com/IN: loaded serial 2016071809
Jul 18 17:57:02 da named[11564]: zone testdomain.com/IN: loaded serial 2016071809
Jul 18 17:57:02 da named[11564]: zone noweczka.pl/IN: loaded serial 2016071809
Jul 18 17:57:02 da named[11564]: zone test.pl/IN: loaded serial 2016071801
Jul 18 17:57:02 da named[11564]: zone e-poltel.com/IN: sending notifies (serial 2016071809)
Jul 18 17:57:02 da named[11564]: zone testdomain.com/IN: sending notifies (serial 2016071809)
Jul 18 17:57:02 da named[11564]: zone noweczka.pl/IN: sending notifies (serial 2016071809)
Jul 18 17:57:02 da named[11564]: zone test.pl/IN: sending notifies (serial 2016071801)
Jul 18 17:57:02 da named[11564]: zone da.e-poltel.com/IN: sending notifies (serial 2016071809)
Jul 18 17:57:02 da named[11564]: zone newdomain.com/IN: sending notifies (serial 2016071809)

DS:
Access.log
79.100.100.100 - - [18/Jul/2016:18:09:52 +0200] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=noweczka.pl HTTP/1.0" 200 - "-" "-"
79.100.100.100 - - [18/Jul/2016:18:09:52 +0200] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=testdomain.com HTTP/1.0" 200 - "-" "-"
79.100.100.100 - - [18/Jul/2016:18:10:38 +0200] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=test.pl HTTP/1.0" 200 - "-" "-"
79.100.100.100 - - [18/Jul/2016:18:11:51 +0200] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=anotherdomain.com HTTP/1.0" 200 - "-" "-"
79.100.100.100 - - [18/Jul/2016:18:11:52 +0200] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=da.e-poltel.com HTTP/1.0" 200 - "-" "-"
79.100.100.100 - - [18/Jul/2016:18:11:52 +0200] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=e-poltel.com HTTP/1.0" 200 - "-" "-"
79.100.100.100 - - [18/Jul/2016:18:11:52 +0200] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=newdomain.com HTTP/1.0" 200 - "-" "-"
79.100.100.100 - - [18/Jul/2016:18:11:52 +0200] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=noweczka.pl HTTP/1.0" 200 - "-" "-"
79.100.100.100 - - [18/Jul/2016:18:11:52 +0200] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=test.pl HTTP/1.0" 200 - "-" "-"
79.100.100.100 - - [18/Jul/2016:18:11:52 +0200] "POST /CMD_API_DNS_ADMIN?action=rawsave&domain=testdomain.com HTTP/1.0" 200 - "-" "-"

Error.log
$TTL 14400
@ IN SOA ns1.e-poltel.com. hostmaster.testdomain.com. (
2016071809
14400
3600
1209600
86400 )

testdomain.com. 14400 IN NS ns1.e-poltel.com.
testdomain.com. 14400 IN NS ns2.e-poltel.com.

ftp 14400 IN A 79.100.100.100
mail 14400 IN A 79.100.100.100
pop 14400 IN A 79.100.100.100
smtp 14400 IN A 79.100.100.100
testdomain.com. 14400 IN A 79.100.100.100
www 14400 IN A 79.133.211.100

testdomain.com. 14400 IN MX 10 mail



testdomain.com. 14400 IN TXT "v' => [
'spf1 a mx ip4:79.100.100.100 ~all"





'
]
},
'escape' => 1
}, 'CGI' );

action.log
2016-07-18 18:11:52: Auth passed for admin from 79.100.100.100
2016-07-18 18:11:52: reloaded newdomain.com on primary 79.100.100.100
2016-07-18 18:11:52: Auth passed for admin from 79.100.100.100
2016-07-18 18:11:52: reloaded noweczka.pl on primary 79.100.100.100
2016-07-18 18:11:52: Auth passed for admin from 79.100.100.100
2016-07-18 18:11:52: reloaded test.pl on primary 79.100.100.100
2016-07-18 18:11:52: Auth passed for admin from 79.100.100.100
2016-07-18 18:11:52: reloaded testdomain.com on primary 79.100.100.100
 
Last edited by a moderator:
I've edited your post to hide the password, i still suggest you to change it.

This is the only domain that return an error?
Does the named.conf (DS side) file get filled?

Regards
 
I changed posted pass.
All of the domain return an error.
And /etc/named/secondary/named.conf is empty
 
Back
Top