Adding NS2 and new IP

lonerunner

Verified User
Joined
Nov 16, 2010
Messages
56
For over 2 months im using my server with only one IP and NS1. I have 70 users there on server and all DNS templates are with that one NS1 IP.

Now i ordered second IP for NS2 because my registrar is making problems and they need NS1 and NS2 and i dont know how to add second IP in DA and update all 70 users to have both ips NS1 and NS2.

I followed guide form here > http://www.directadmin.com/forum/showthread.php?t=26937&highlight=add+ip+dns

But i stuck at Reseller Level > Name Servers > Adding second IP as NS2.

How can i add new ip and NS2 and update all my clients and other settings so DA, or server should know to use both IP's now.
I checked ifconfig and new ip is active and working, i can even ping and SSH connect to that new ip.
 
But i stuck at Reseller Level > Name Servers > Adding second IP as NS2.

Just correct records in "Set the Nameservers that will be assigned to new users", save and quit.

How can i add new ip and NS2 and update all my clients and other settings so DA, or server should know to use both IP's now.

I do not know, how did you manage to create users with only one NS1. But now you can fix it only two ways:

1. Use directadmin interface to modify every user and set "Name Server 2". In this case DNS records for user's domains will be updated
2. Do it in shell, update /usr/local/directadmin/data/users/<USERNAME>/user.conf for every user:

Code:
ns1=<ns1_host_here>
ns2=<ns2_host_here>


But before any update /usr/local/directadmin/data/templates/custom/dns_ns.conf and change it to default. And run
Code:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue
 
Back
Top