• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Configuring slave dns on external debian box with bind

maolito

New Pleskian
Hi guys!

I'm trying to configure a little vps to use as dns slave for plesk master dns, but after reading documentation and configure the server, domains and plesk slave extension, I always get the following error on bind:

Code:
25-Feb-2021 19:12:22.560 general: info: received control channel command 'refresh my-domain.com IN'
25-Feb-2021 19:12:22.560 general: debug 1: queue_soa_query: zone my-domain.com/IN: enter
25-Feb-2021 19:12:22.560 general: debug 1: soa_query: zone my-domain.com/IN: enter
25-Feb-2021 19:12:22.585 general: debug 1: refresh_callback: zone my-domain.com/IN: enter
25-Feb-2021 19:12:22.585 general: debug 1: refresh_callback: zone my-domain.com/IN: serial: new 2021022502, old not loaded
25-Feb-2021 19:12:22.585 general: debug 1: queue_xfrin: zone my-domain.com/IN: enter
25-Feb-2021 19:12:22.585 general: info: zone my-domain.com/IN: Transfer started.
25-Feb-2021 19:12:22.585 general: debug 1: zone my-domain.com/IN: no database exists yet, requesting AXFR of initial version from IP.PLESK.DEBIAN.SERVER#53
25-Feb-2021 19:12:22.611 xfer-in: info: transfer of 'my-domain.com/IN' from IP.PLESK.DEBIAN.SERVER#53: connected using IP.DEBIAN.SLAVE.DNS#52239
25-Feb-2021 19:12:22.636 xfer-in: error: transfer of 'my-domain.com/IN' from IP.PLESK.DEBIAN.SERVER#53: failed while receiving responses: REFUSED
25-Feb-2021 19:12:22.636 general: debug 1: zone my-domain.com/IN: zone transfer finished: REFUSED
25-Feb-2021 19:12:22.636 general: debug 1: zone_settimer: zone my-domain.com/IN: enter
25-Feb-2021 19:12:22.636 general: debug 1: queue_soa_query: zone my-domain.com/IN: enter
25-Feb-2021 19:12:22.636 xfer-in: info: transfer of 'my-domain.com/IN' from IP.PLESK.DEBIAN.SERVER#53: Transfer status: REFUSED
25-Feb-2021 19:12:22.636 xfer-in: info: transfer of 'my-domain.com/IN' from IP.PLESK.DEBIAN.SERVER#53: Transfer completed: 0 messages, 0 records, 0 bytes, 0.025 secs (0 bytes/sec)
25-Feb-2021 19:12:23.060 general: debug 1: soa_query: zone my-domain.com/IN: enter
25-Feb-2021 19:12:23.060 general: debug 1: cancel_refresh: zone my-domain.com/IN: enter
25-Feb-2021 19:12:23.061 general: debug 1: zone_settimer: zone my-domain.com/IN: enter

Running rndc says that the zone refresh is queued, but on bind server I get the REFUSED error

Code:
rndc -b IP.PLESK.DEBIAN.SERVER -s IP.DEBIAN.SLAVE.DNS -p 953 -y rndc-key refresh my-domain.com IN
WARNING: key file (/etc/bind/rndc.key) exists, but using default configuration file (/etc/bind/rndc.conf)
zone refresh queued

And here is the configuration file for bind:
Code:
options {
        directory "/var/cache/bind";
        dnssec-validation auto;

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };

        allow-new-zones yes;
};


controls {
    inet * port 953 allow { IP.PLESK.DEBIAN.SERVER; 127.0.0.1; } keys { "rndc-key-IP.PLESK.DEBIAN.SERVER";  } ;
 };

key "rndc-key-IP.PLESK.DEBIAN.SERVER" {
  algorithm hmac-md5;
  secret "SECRET-KEY";
};

key "rndc-key" {
  algorithm hmac-md5;
  secret "SECRET-KEY";
};

We have allowed traffic between both ip on both firewalls and also tried with firewalls stopped and no selunix is enabled on slave dns server. And bind is started with ipv4 only.

Bind version is BIND 9.10.3-P4-Debian <id:ebd72b3>

No way to find what is going on to get a refused error on bind. Anyone can help?

Thanks!!
 
Hi maolito,

Have you checked the BIND logs on the server IP.PLESK.DEBIAN.SERVER? Are there any hints?
 
Back
Top