K
K
kmx2014-09-20 01:57:58
Domain Name System
kmx, 2014-09-20 01:57:58

DNS on Vesta, how to implement, similar to ISPManager 4?

Goodnight!
Previously, on ISPManager 4 it was possible to fasten the name.ru domain as a domain for any user,
add for it A records like ns1 111.222.333.444 name.ru and ns2 111.222.333.444 name.ru
then set the default dns panel settings to ns1.name.ru and ns2.name.ru + prescribe the same ns for all domains And everything was good - domains and type ns-servers worked (WE DO NOT DISCUSS THE RELIABILITY OF THE SOLUTION)
Now we switched to vesta. How to implement such a scheme using Vesta Panel?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vlad Odies, 2014-10-05
@kmx

Not quite the right decision to keep 2 ns on one ip.
It would be more correct to do this:
1. Buy any cheap vps for a year (can be found for $10 per year)
2. Install Vesta on this server
3. Add "dns-cluster" user on the new server via Vesta
4. On your main server with Vesta , through ssh we execute the command
(Where 111.222.333.444 is the ip address of the server for $10)
5. In the domain registrar panel, we prescribe the zones

ns1.yoursite.com ip (основного сервера)
ns2.yoursite.com ip (сервера за 10$)

6. For your domain in the settings of Vesta, we prescribe DNS
ns1.yoursite.com
ns2.yoursite.com

7. For all other domains so
ns1.yoursite.com
ns2.yoursite.com

Now you have 2 independent ns servers that will work stably and without failures. But since you have already spent money on a $10 server, you can set up an automatic backup of your sites from the main server to your purchased via ftp:
To do this:
1. Open the "/usr/local/vesta/conf/" file on the main server ftp.backup.conf"
2. Write down the backup settings:
HOST='ip-адрес сервера за 10$'
PORT='21'
USERNAME='логин ftp'
PASSWORD='пароль ftp'
BPATH='/'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question