"Unable to get data from file" - db named

inomi13

Verified User
Joined
Jan 7, 2022
Messages
182
I removed domain from DNS Administration. however in /var/log/directadmin/errortaskq.log I see below information:

2026:06:26-02:23:40: Backup: abc: Unable to get data from file: /var/named/example.com.db
 
Surely the domain example.com is still registered inside user account abc, and you have just removed the zone
 
Exactly, domain is still assigned to user account, hovers DNS of this domain is not management from this server.
 
You can do it by DA panel login into as user abc (or impersonate), than go to to domain setup, select "example.com" and than look for the DNS Management option and uncheck the box to disable it

or edit nano/vim the file

/usr/local/directadmin/data/users/abc/domains/example.com.conf and set dns/named off
(in this case after have to rewrite)
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue
 
In DA panel via user I deleted all records because there aren't any option to disable DNS per domain. The same operation I be able a admin, removing domain from DNS Administration.

DNS Zone does not exist
This might be correct if DNS is controlled remotely.
If needed, contact your Server Administrator to recreate the zone.

After that I logged via SSH, hoever I don't see any set option "dns/named off" in configuration domain.
 
May be MX ?
try to uncheck "Use this server to handle my emails" in user level MX record
i think that if is enabled, DA assumes the domain is fully local and forces the backup script to look for the /var/named/example.com.db file.
 
Back
Top