MrMax
June 2, 2022, 4:35pm
1
Hello Guys!
I want to create DNS Cluster with user variable.
The manual states
https://docs.hestiacp.com/admin_docs/dns.html#can-i-separate-dns-accounts-by-users
I create on the Slave DNS user in control panel “dns-newhost”
I issue a command on the master DNS
v-add-remote-dns-host 77.83.. admin p4sw0rd dns-newhost
I receive an error message
Error: dns-newhost type is invalid
Dear colleagues, please tell me what I’m doing wrong.
Why am I following the instructions and getting an error.
Please tell me where I violated the understanding of the essence
eris
June 2, 2022, 4:37pm
2
v-add-remote-dns-host 77.83.. admin p4sw0rd api dns-newhost
will update the docs
MrMax
June 2, 2022, 4:58pm
3
Thanks
Now an error is returned:
"/usr/local/hestia/func/remote.sh: line 50: return: Error:: numeric argument required
“Error: api connection to 77.83.. failed”
I go to the slave dns control panel and in the settings
“Server Settings - Security” I check
API - Enable API Access - Yes
Allowed IP for API, 1 IP address per line
Add IP address Master DNS
From the console Master DNS I run the command
v-add-remote-dns-host 77.83.. 8083 admin p4sw0rd api dns-host
"/usr/local/hestia/func/remote.sh: line 50: return: Error:: numeric argument required
“Error: api connection to 77.83.. failed”
I will be grateful please tell me the solution
eris
June 2, 2022, 5:19pm
4
v-add-remote-dns-host $server $port “$accesskey” “” api ‘hestiatest’
Should work fine.
What happens if connect via the api to list the user?
Upload this:
To the master server and provide the “details” of the slave…
MrMax
June 2, 2022, 5:49pm
5
I have to create a file on the master server, in the root folder of any domain on this server, with the html extension and then access this file directly?
Then return the response data
If I understand correctly, please confirm
eris
June 2, 2022, 6:02pm
6
Upload the file with api.php
Then visit the file https://domain.com/api.php and enter the requested data. it will then return the user list
MrMax
June 2, 2022, 6:05pm
7
Hi guys!
After the reboot, everything immediately began to work as it should be according to this instruction
In the user account in the DNS MENU section, entries appeared DNS Master server
Everything is great
Thanks
MrMax
June 2, 2022, 6:10pm
8
I have successfully added IP`s NS1 NS2 records to the registrar and the domain has been delegated to these DNS
Previously, an attempt to delegate was returned with a message about the absence of records on the NS2 server
So practice confirms that everything works successfully!
Thanks again
1 Like