• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Forwarded to devs additional zone for subdomains after update

Dmytro

Basic Pleskian
Hi.
Not sure if it's related, but I can't find any other reasons

Today I did update to Plesk Obsidian 18.0.57 update 4 (CloudLinux 8.7)
And now if I add new subdomain - I receive request to create new zone for this subdomain on Slave, but it should be only refresh for domain

Code:
received control channel command 'addzone subdomain.domain.com IN  { type slave; file "subdomain.domain.com"; masters { 9.8.5.9; }; };'

I have also Plesk Obsidian 18.0.55 update 2 CloudLinux 8.8 - and there is no such problem, also
 
here is more detailed dns log from slave:

Code:
Dec 19 22:38:11 ns1 named[5608]: received control channel command 'addzone subdomain.domain.com IN  { type slave; file "subdomain.domain.com"; masters { 1.5.9.9; }; };'
Dec 19 22:38:11 ns1 named[5608]: zone subdomain.domain.com added to view _default via addzone
Dec 19 22:38:11 ns1 named[5608]: zone subdomain.domain.com/IN: refresh: NODATA response from master 1.5.9.9#53 (source 0.0.0.0#0)
Dec 19 22:38:12 ns1 named[5608]: received control channel command 'refresh subdomain.domain.com IN '
Dec 19 22:38:12 ns1 named[5608]: zone subdomain.domain.com/IN: refresh: NODATA response from master 1.5.9.9#53 (source 0.0.0.0#0)
Dec 19 22:38:12 ns1 named[5608]: received control channel command 'refresh domain.com IN '
Dec 19 22:38:13 ns1 named[5608]: zone domain.com/IN: Transfer started.
Dec 19 22:38:13 ns1 named[5608]: transfer of 'domain.com/IN' from 1.5.9.9#53: connected using 7.8.9.3#48879
Dec 19 22:38:13 ns1 named[5608]: zone domain.com/IN: transferred serial 2023121924
Dec 19 22:38:13 ns1 named[5608]: transfer of 'domain.com/IN' from 1.5.9.9#53: Transfer completed: 1 messages, 25 records, 1157 bytes, 0.038 secs (30447 bytes/sec)

and I have two zones in config:

zone domain.com { type slave; file "domain.com"; masters { 1.5.9.9; }; };
........
zone subdomain.domain.com { type slave; file "subdomain.domain.com"; masters { 1.5.9.9; }; };

but there is no file file "subdomain.domain.com" , only file "domain.com"

and file file "domain.com" has A record about subdomain.domain.com
 
I talked with Plesk support and they reproduced this on their test environment, so we are waiting for bug fix
 
As I know, there is no fix for today. But you can activate "own zone creation" for subdomains using this command:

Code:
plesk bin server_pref -u -subdomain-dns-zone own

Be aware, this will run through all your subdomains and recreate zones for them
 
Hi. I see related Fix in last changelog (PPPM-14316) . Is this fix for described here problem?
 
Has anyone found a temporary solution? It's still NODATA at slaves... :(
Ah! There is a temporary workaround. We can Enable (switch to local dns service) in subdomain and then it became resolvable.
1. go to subdomain
2. enter DNS
3. click Enable
 
Back
Top