Skip to content

Do not create new domains on the slave DNS #31

@click0

Description

@click0

At some point in time, new names were no longer created on the DNS slave.

Information about the DNS master:

# hostname
richhost.org
# plesk version
Product version: Plesk Onyx 17.5.3 Update #53
    Update date: 2018/07/12 23:12
     Build date: 2017/03/17 16:00
     OS version: CentOS 7
       Revision: 55d1b49a272f44666e1920eca8b6e4da449a38cd
   Architecture: 64-bit
Wrapper version: 1.2
# rndc status
WARNING: key file (/etc/rndc.key) exists, but using default configuration file (/etc/rndc.conf)
version: 9.9.4-RedHat-9.9.4-61.el7 (none) <id:8f9657aa>
CPUs found: 8
worker threads: 2
UDP listeners per interface: 2
number of zones: 260
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

About Slave-1 DNS:

# rndc status
version: 9.9.4-RedHat-9.9.4-50.el7_3.1 <id:8f9657aa>
CPUs found: 2
worker threads: 2
UDP listeners per interface: 2
number of zones: 102
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

About Slave-2 DNS:

# rndc status
version: 9.9.4-RedHat-9.9.4-38.el7_3 <id:8f9657aa>
CPUs found: 3
worker threads: 3
UDP listeners per interface: 3
number of zones: 266
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 6
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running

Example of a test DNS zone support-od-ua-test-domain.ru:


; *** This file is automatically generated by Plesk ***
$TTL    3600

@       IN      SOA     rich-host.com. hacker20456.ukr.net. (
                        2018081104      ; Serial
                        10800   ; Refresh
                        3600    ; Retry
                        604800  ; Expire
                        10800 ) ; Minimum

support-od-ua-test-domain.ru.            IN NS   rich-host.com.
support-od-ua-test-domain.ru.            IN NS   richhost.in.ua.
support-od-ua-test-domain.ru.            IN NS   richhost.org.
...
support-od-ua-test-domain.ru.            IN A    1.1.1.1
...

Note the incorrect NS in the SOA record field.

At the same time, the console command normally adds a domain to the slave DNS:
rndc -b 1.1.1.1 -s 2.2.2.2 -p 953 -y rndc-key -c /usr/local/psa/var/modules/slave-dns-manager/slave_2.2.2.2.conf addzone support-od-ua-test-domain.ru '{ type slave; file "support-od-ua-test-domain.ru"; masters { 1.1.1.1; }; };'

P.S. on the discrepancies in the number of DNS zones do not pay attention. We are still dealing with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions