Page 1 of 2
DNS Replication
Posted: Thu Dec 05, 2013 4:53 pm
by marcelorider
Hello there,
I've setup everything on 2 VPS but to add one of them for DNS replication i have a problem.
It asks for a user 'dns-cluster'.
Well to add it on debian, i've tried adduser but it asks for a password so no chance.
Could you guys give me an hand?
Thanks!
Re: DNS Replication
Posted: Thu Dec 05, 2013 5:41 pm
by gtzen
I guess, it could be done using:
#v-add-user dns-cluster
Re: DNS Replication
Posted: Thu Dec 05, 2013 5:50 pm
by marcelorider
Well that also asks for password...
Usage:
Code: Select all
v-add-user USER PASSWORD EMAIL [PACKAGE] [FNAME] [LNAME]
I think that this is not the way i need to add the user.
It must be like "
adduser dns-cluster" but with that way it asks for a password too. (supposing that replication needs a user on the OS and not on the panel)
Can't get it really...
Re: DNS Replication
Posted: Thu Dec 05, 2013 6:17 pm
by skid
gtzenis right, all you need is to add dns-cluster user. It can be added via web-interface or in CLI just like usual user account.
You can use random password, it doesn't really matter. User is needed to assign slave domains.
Re: DNS Replication
Posted: Thu Dec 05, 2013 10:09 pm
by marcelorider
Added, but there's something that isn't clear.
After all is setup, how do it really works?
I've created the dns-cluster user on the NS1 server.
And done the "v-add-remote-dns-host" on the NS2.
Does the NS1 synchronizes with the NS2 now? The already done domains?
Re: DNS Replication
Posted: Fri Dec 06, 2013 7:35 am
by skid
When you add remote node it automatically receives all domains. It's easy to check, you can login on ns2 and list dns domains as user dns-cluster. Synchronization is event based, every time you change something or add it trigger sync function.
Re: DNS Replication
Posted: Fri Dec 06, 2013 12:06 pm
by marcelorider
Well i've seen it's functioning, but on the wrong way...
It synchronizes the NS2 to the NS1...
Gonna make the think on the other side ;)
Is also any way to remove the dns-host?
Re: DNS Replication
Posted: Fri Dec 06, 2013 3:22 pm
by skid
Sure, you can delete it
Code: Select all
v-delete-remote-dns-host %hostname%
Re: DNS Replication
Posted: Fri Dec 06, 2013 4:38 pm
by marcelorider
Thanks so much, ill maybe write a tutorial later on how to setup the thing correcly :)
Would be also great to have a tutorial subforum here on the forum so people could help each other without asking so much questions. Although it's a great peace of software that we have here.
Thank you!
(i would also love to see the web and mail clustered in the next releases if possible :))
Re: DNS Replication
Posted: Sun Dec 08, 2013 9:30 am
by skid
Mail cluster is already in backlog. We will try to finish it within 2 months