No user conf dns directory
Posted: Wed May 06, 2020 10:49 pm
I am using bind9 on Ubuntu 18.04.
I have attempted to create a domain; however, the file for the domain is not being created. Looking into it, the dns directory is missing from the conf directory.
I am unable to make any changes in the conf folder, even as root. This is true of any conf directory on the system. v-rebuild-dns-domains also fails to create the file/directory.
However, the system is correctly changing the named.conf file:
Please advise.
Thanks.
I have attempted to create a domain; however, the file for the domain is not being created. Looking into it, the dns directory is missing from the conf directory.
I am unable to make any changes in the conf folder, even as root. This is true of any conf directory on the system. v-rebuild-dns-domains also fails to create the file/directory.
Code: Select all
/usr/local/vesta/func/domain.sh: line 402: /home/user/conf/dns/domain.com.db: No such file or directory
/usr/local/vesta/func/domain.sh: line 416: /home/user/conf/dns/domain.com.db: No such file or directory
chmod: cannot access '/home/user/conf/dns/domain.com.db': No such file or directory
Code: Select all
➜ conf sudo -i
root@hostname:~# cd /home/user/conf
root@hostname:/home/user/conf# mkdir dns
mkdir: cannot create directory ‘dns’: Operation not permitted
Code: Select all
include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";
zone "domain.com" {type master; file "/home/user/conf/dns/domain.com.db";};
Thanks.