Hello,
recently I updated directadmin to 1.44.0 on two of my centos machines. One centos 5.7 with custombuild v1 and another one is 6.4 with custombuild v2.
Today I've noticed that centos 6.4 machine is not functioning properly. When I create a user through api or through webadmin panel, user gets created, it's /usr/local/directadmin/data/users/USER/ directory seems to be alright, in /etc/virtual and /etc/named.conf appropriate values appear. Even a zone file in /var/named/USER.FACULTY.UNIVERSITY.EDU.db is created. But...
file /var/named/FACULTY.UNIVERSITY.EDU.db does not receive any values of that user e.g.
when I create user on a working machine I see:
User USER created
Details
Unix User created successfully
User's System Quotas set
User's data directory created successfully
Domains directory created successfully
Domains directory created successfully in user's home
USER 14400 IN CNAME www1 \
www.USER 14400 IN CNAME www1 \
admin.USER 14400 IN CNAME webadmin \
ftp.USER 14400 IN CNAME webadmin \
mail.USER 14400 IN CNAME webadmin \
NewSerial is 2013100704
subdomain USER already exists in /var/named/FACULTY.UNIVERSITY.EDU.db
Domain Created Successfully
Added user USER.
but on that centos 6.4 I get the same output except for lines:
USER 14400 IN CNAME www1 \
www.USER 14400 IN CNAME www1 \
admin.USER 14400 IN CNAME webadmin \
ftp.USER 14400 IN CNAME webadmin \
mail.USER 14400 IN CNAME webadmin \
NewSerial is 2013100704
subdomain USER already exists in /var/named/FACULTY.UNIVERSITY.EDU.db
I know that custom dns_a.conf template provides values to USER.FACULTY.UNIVERSITY.EDU.COM.db but I can't find out which template or script is being called to add those user values to /var/named/FACULTY.UNIVERSITY.EDU.db
And somehow the only dns records are working from FACULTY.UNIVERSITY.EDU.db. USER.FACULTY.UNIVERSITY.EDU.db does not change anything worldwide.
If I use dig to find out info about the domain dns I get no answer section, just authority:
;; AUTHORITY SECTION:
FACULTY.UNIVERSITY.EDU. 14400 IN SOA NS1.UNIVERSITY.EDU. hostmaster.FACULTY.UNIVERSITY.EDU. 2013091902 14400 3600 1209600 86400
but if I do:
# dig USER.FACULTY.UNIVERSITY.EDU @FACULTY.UNIVERSITY.EDU
then I get correct info.
So to sum up, I need a help understanding how to make those values additionally appear as CNAME in FACULTY.UNIVERSITY.EDU.db file
or to edit /etc/named.conf or something else so USER.FACULTY.UNIVERSITY.EDU.db would be able to notify University NS servers...
Thanks in advance for your help,
Best regards,
Simonas
recently I updated directadmin to 1.44.0 on two of my centos machines. One centos 5.7 with custombuild v1 and another one is 6.4 with custombuild v2.
Today I've noticed that centos 6.4 machine is not functioning properly. When I create a user through api or through webadmin panel, user gets created, it's /usr/local/directadmin/data/users/USER/ directory seems to be alright, in /etc/virtual and /etc/named.conf appropriate values appear. Even a zone file in /var/named/USER.FACULTY.UNIVERSITY.EDU.db is created. But...
file /var/named/FACULTY.UNIVERSITY.EDU.db does not receive any values of that user e.g.
when I create user on a working machine I see:
User USER created
Details
Unix User created successfully
User's System Quotas set
User's data directory created successfully
Domains directory created successfully
Domains directory created successfully in user's home
USER 14400 IN CNAME www1 \
www.USER 14400 IN CNAME www1 \
admin.USER 14400 IN CNAME webadmin \
ftp.USER 14400 IN CNAME webadmin \
mail.USER 14400 IN CNAME webadmin \
NewSerial is 2013100704
subdomain USER already exists in /var/named/FACULTY.UNIVERSITY.EDU.db
Domain Created Successfully
Added user USER.
but on that centos 6.4 I get the same output except for lines:
USER 14400 IN CNAME www1 \
www.USER 14400 IN CNAME www1 \
admin.USER 14400 IN CNAME webadmin \
ftp.USER 14400 IN CNAME webadmin \
mail.USER 14400 IN CNAME webadmin \
NewSerial is 2013100704
subdomain USER already exists in /var/named/FACULTY.UNIVERSITY.EDU.db
I know that custom dns_a.conf template provides values to USER.FACULTY.UNIVERSITY.EDU.COM.db but I can't find out which template or script is being called to add those user values to /var/named/FACULTY.UNIVERSITY.EDU.db
And somehow the only dns records are working from FACULTY.UNIVERSITY.EDU.db. USER.FACULTY.UNIVERSITY.EDU.db does not change anything worldwide.
If I use dig to find out info about the domain dns I get no answer section, just authority:
;; AUTHORITY SECTION:
FACULTY.UNIVERSITY.EDU. 14400 IN SOA NS1.UNIVERSITY.EDU. hostmaster.FACULTY.UNIVERSITY.EDU. 2013091902 14400 3600 1209600 86400
but if I do:
# dig USER.FACULTY.UNIVERSITY.EDU @FACULTY.UNIVERSITY.EDU
then I get correct info.
So to sum up, I need a help understanding how to make those values additionally appear as CNAME in FACULTY.UNIVERSITY.EDU.db file
or to edit /etc/named.conf or something else so USER.FACULTY.UNIVERSITY.EDU.db would be able to notify University NS servers...
Thanks in advance for your help,
Best regards,
Simonas
Last edited: