Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

DNS Replication

General questions about VestaCP
Post Reply
  • Print view
Advanced search
11 posts
  • 1
  • 2
  • Next
marcelorider
Posts: 7
Joined: Thu Dec 05, 2013 4:39 pm

DNS Replication
  • Quote

Post by marcelorider » Thu Dec 05, 2013 4:53 pm

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!
Top

gtzen
Posts: 22
Joined: Wed Dec 04, 2013 8:28 am

Re: DNS Replication
  • Quote

Post by gtzen » Thu Dec 05, 2013 5:41 pm

I guess, it could be done using:

#v-add-user dns-cluster
Top

marcelorider
Posts: 7
Joined: Thu Dec 05, 2013 4:39 pm

Re: DNS Replication
  • Quote

Post by marcelorider » Thu Dec 05, 2013 5:50 pm

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...
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: DNS Replication
  • Quote

Post by skid » Thu Dec 05, 2013 6:17 pm

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.

Code: Select all

v-add-user dns-cluster tLdFgEqEpv [email protected]
You can use random password, it doesn't really matter. User is needed to assign slave domains.
Top

marcelorider
Posts: 7
Joined: Thu Dec 05, 2013 4:39 pm

Re: DNS Replication
  • Quote

Post by marcelorider » Thu Dec 05, 2013 10:09 pm

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?
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: DNS Replication
  • Quote

Post by skid » Fri Dec 06, 2013 7:35 am

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.
Top

marcelorider
Posts: 7
Joined: Thu Dec 05, 2013 4:39 pm

Re: DNS Replication
  • Quote

Post by marcelorider » Fri Dec 06, 2013 12:06 pm

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?
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: DNS Replication
  • Quote

Post by skid » Fri Dec 06, 2013 3:22 pm

Sure, you can delete it

Code: Select all

v-delete-remote-dns-host %hostname%
Top

marcelorider
Posts: 7
Joined: Thu Dec 05, 2013 4:39 pm

Re: DNS Replication
  • Quote

Post by marcelorider » Fri Dec 06, 2013 4:38 pm

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 :))
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: DNS Replication
  • Quote

Post by skid » Sun Dec 08, 2013 9:30 am

Mail cluster is already in backlog. We will try to finish it within 2 months
Top


Post Reply
  • Print view

11 posts
  • 1
  • 2
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password