DirectAdmin not adding DNS record

Petertjuh360

Verified User
Joined
Nov 7, 2010
Messages
328
Hello all,

I am trying to add a 3rd nameserver and I followed this guide: http://help.directadmin.com/item.php?id=196 .
However DirectAdmin is not adding the DNS record.

I created the file /usr/local/directadmin/data/templates/custom/dns_ns.conf with the following lines:
Code:
|NS1|=|DOMAIN|.
|NS2|=|DOMAIN|.
ns3.mydomain.nl.=|DOMAIN|.
The permission of the file is 755 and the file owners are set to diradmin:diradmin.
The ns1 and ns2 records are written on create.

I hope someone can help me.
 
I can't see anything wrong with what you say you have done. But my permissions are different. I have 711 on the custom folder, and 644 on the file dns_ns.conf. Also make sure that both the folder and file is set to diradmin diradmin

If you do not have a last empty line in dns_ns.conf, try to make a new empty line at the bottom after ns3...

Maybe try to restart DirectAdmin and see if that helps?: service directadmin restart

I have three name servers myself, and have done it like the guide in your link says, and it have always worked correct for me.
 
Back
Top