wasiwarez
New Pleskian
- Server operating system version
- Ubuntu 24.04.3 LTS
- Plesk version and microupdate number
- 18.0.72 Update Nr. 3
Hi everybody,
I'm trying to set up to servers as nameservers. The first one should be the master and the second should be the slave.
For privacy purposes I will use the ip x.x.x.x for the master and y.y.y.y for the slave.
I installed the slave dns manager on the master. I entered the ip of the master and the ip of the slave into the right fields.
When I finished this, I copied the generated code to the slave into the /etc/bind/named.conf.options. It looks like this:
On the primary server I got an error.
rndc: connect failed: y.y.y.y#953: connection refused Error code: 1
I think it maybe that the slave is not listening on port 953.
netstat -anp4 | grep named will print this:
Can anyone tell me how to fix this? I disabled the plesk firewall and also the server firewall from the hoster.
Thanks in advance.
Edit: If it matters, the OS of the slave is Ubuntu 22.04. Plesk is 8.0.72 Update Nr. 3.
I'm trying to set up to servers as nameservers. The first one should be the master and the second should be the slave.
For privacy purposes I will use the ip x.x.x.x for the master and y.y.y.y for the slave.
I installed the slave dns manager on the master. I entered the ip of the master and the ip of the slave into the right fields.
When I finished this, I copied the generated code to the slave into the /etc/bind/named.conf.options. It looks like this:
Code:
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
// forwarders {
// 0.0.0.0;
// };
//========================================================================
// If BIND logs error messages about the root key being expired,
// you will need to update your keys. See https://www.isc.org/bind-keys
//========================================================================
dnssec-validation auto;
listen-on-v6 { any; };
//Changes for secondary DNS server
listen-on port 953 { 127.0.0.1; y.y.y.y; };
allow-new-zones yes;
//================================
};
//Chanages for secondary DNS server
key "rndc-key-x.x.x.x" {
algorithm hmac-sha256;
secret "SECRET";
};
controls {
inet * port 953 allow { x.x.x.x; 127.0.0.1; } keys { "rndc-key-x.x.x.x"; };
};
//==================================
rndc: connect failed: y.y.y.y#953: connection refused Error code: 1
I think it maybe that the slave is not listening on port 953.
netstat -anp4 | grep named will print this:
Code:
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 7403/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 7403/named
tcp 0 0 85.215.52.97:53 0.0.0.0:* LISTEN 7403/named
tcp 0 0 85.215.52.97:53 0.0.0.0:* LISTEN 7403/named
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 7403/named
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 7403/named
udp 0 0 85.215.52.97:53 0.0.0.0:* 7403/named
udp 0 0 85.215.52.97:53 0.0.0.0:* 7403/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 7403/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 7403/named
Thanks in advance.
Edit: If it matters, the OS of the slave is Ubuntu 22.04. Plesk is 8.0.72 Update Nr. 3.