[Bug] Hostname not created in /etc/virtual when created via Directadmin DNS Administration

Richard G

Verified User
Joined
Jul 6, 2008
Messages
14,143
Location
Maastricht
Seen this for the 3rd time now. At least in Enhanced skin.
I used DNS Administration to create a hostname entry. And in the /etc/virtual/domains file the hostname entry is created.
But the directory /etc/virtual/hostname is not created, which should be.
 
Just bringing to attention again, as this is a bug it needs fixing. Just encountered it again on a new installation.
@fln is this is the "todo" list already?
 
Thanks for report. Just wanted to clarify are you adding server hostname as a domain for some user? Normally DA should not allow adding server hostname as a domain for some user, throwing `Sub-domain is forbidden` error message.
 
are you adding server hostname as a domain for some user?
No. It's in fact a double bug.

On a fresh installation, when the hostname is already set correctly as should be in the OS, the DA setup does detect the hostname correctly and uses it in the DA configuration in Administrator settings.
However it does -not- create a hostname record in the DNS administration as it should do (like it did before and does, if I'm correct, with the da.direct hostname if no hostname is detected).
That is bug 1.

So we have to create the hostname manually in DNS Administration at admin level, so hostname, ip and both nameservers like it has always been done. And if created that way, the hostname directory is not created in the /etc/virtual directory as should be.
That is bug 2.
 
Back
Top