hebero
Verified User
Hello,
I'm setting up a hosting server using the Directadmin panel, I had some problems regarding emails but they were solved with the help of this forum.
Now I have a problem regarding DNS, when I inform NS1 and NS2 in Registro.br (domain registration in Brazil) he accuses Slave 1, unknown domain, the NS1 master he normally accepts. Checking the named.conf.local of the NS slave I see that the record for the domain was not created. and when checking the status of the bind he presents this message:
client xxx.xxx.xxx.14 # 43765: received notify for zone 'dominio.com.br': not authoritative
The question I have is: Is it possible to perform this automatic update? Or will it have to be done manually with each domain registration on the panel?
Follow my settings.
NS1 MASTER ############
### named.conf.options ###
acl "trusted" {
xxx.xxx.xxx.14; # ns1
xxx.xxx.xxx.205; # ns2
};
options {
directory "/ var / cache / bind";
recursion yes;
allow-recursion {trusted; };
listen-on {xxx.xxx.xxx.14; };
allow-transfer {xxx.xxx.xxx.205; };
// forwarders {
// 8.8.8.8;
// 8.8.4.4;
//};
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 {any; };
};
### named.conf - ns1 master ###
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
zone "domain_server.net" {type master; file "/etc/bind/dominio_server.net.db"; allow-transfer {xxx.xxx.xxx.205;}; };
zone "dominio.com.br" {type master; file "/etc/bind/dominio.com.br.db"; }; <- (record created by the DA)
NS2 Slave ############
### named.conf.options ###
acl "trusted" {
xxx.xxx.xxx.14; # ns1
xxx.xxx.xxx.205; # ns2
};
options {
directory "/ var / cache / bind";
recursion yes;
allow-recursion {trusted; };
listen-on {xxx.xxx.xxx.205; };
allow-transfer {xxx.xxx.xxx.14; };
allow-query {any; };
// forwarders {
// 8.8.8.8;
// 8.8.4.4;
//};
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 {any; };
};
### named.conf.local - NS2 slave ###
zone "domain_server.net" {type slave; file "domain_server.net.db"; masters {xxx.xxx.xxx.14; }; };
Note that NS2's named.conf.local does not have the "dominio.com.br" zone registration unless it is manually informed. Is it possible to replicate automatically?
I am using Debian 9 as a server.
I'm setting up a hosting server using the Directadmin panel, I had some problems regarding emails but they were solved with the help of this forum.
Now I have a problem regarding DNS, when I inform NS1 and NS2 in Registro.br (domain registration in Brazil) he accuses Slave 1, unknown domain, the NS1 master he normally accepts. Checking the named.conf.local of the NS slave I see that the record for the domain was not created. and when checking the status of the bind he presents this message:
client xxx.xxx.xxx.14 # 43765: received notify for zone 'dominio.com.br': not authoritative
The question I have is: Is it possible to perform this automatic update? Or will it have to be done manually with each domain registration on the panel?
Follow my settings.
NS1 MASTER ############
### named.conf.options ###
acl "trusted" {
xxx.xxx.xxx.14; # ns1
xxx.xxx.xxx.205; # ns2
};
options {
directory "/ var / cache / bind";
recursion yes;
allow-recursion {trusted; };
listen-on {xxx.xxx.xxx.14; };
allow-transfer {xxx.xxx.xxx.205; };
// forwarders {
// 8.8.8.8;
// 8.8.4.4;
//};
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 {any; };
};
### named.conf - ns1 master ###
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
zone "domain_server.net" {type master; file "/etc/bind/dominio_server.net.db"; allow-transfer {xxx.xxx.xxx.205;}; };
zone "dominio.com.br" {type master; file "/etc/bind/dominio.com.br.db"; }; <- (record created by the DA)
NS2 Slave ############
### named.conf.options ###
acl "trusted" {
xxx.xxx.xxx.14; # ns1
xxx.xxx.xxx.205; # ns2
};
options {
directory "/ var / cache / bind";
recursion yes;
allow-recursion {trusted; };
listen-on {xxx.xxx.xxx.205; };
allow-transfer {xxx.xxx.xxx.14; };
allow-query {any; };
// forwarders {
// 8.8.8.8;
// 8.8.4.4;
//};
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 {any; };
};
### named.conf.local - NS2 slave ###
zone "domain_server.net" {type slave; file "domain_server.net.db"; masters {xxx.xxx.xxx.14; }; };
Note that NS2's named.conf.local does not have the "dominio.com.br" zone registration unless it is manually informed. Is it possible to replicate automatically?
I am using Debian 9 as a server.