Softaculous


Topic : PDNS server won't connect


Posted By: ordinaryegi on September 20, 2016, 4:53 am
Hi
i'm followed instruction to install pdns server on my vps in virtualizor, it's work perfectly, but when i'm adding to dns server in powerdns then make a test,  the result is server not connected, i'm trying ssh and ping in both vps to make sure both can ssh and  ping each other and it's success

that's make me confuse, anyone can help?

regards

Posted By: asim_shaikh on September 20, 2016, 6:36 am | Post: 1
Quote
Hi

i'm followed instruction to install pdns server on my vps in
virtualizor, it's work perfectly, but when i'm adding to dns server in
powerdns then make a test,  the result is server not connected, i'm
trying ssh and ping in both vps to make sure both can ssh and  ping each
other and it's success

that's make me confuse, anyone can help?

regards


Hi,

It might be due to incorrect virtualizor server IP specified while installing PDNS.
Can you check if you are able to connect to the PDNS server from your Virtualizor server using the command :

/usr/local/emps/bin/mysql -h <pdns-ip> -u <mysql-user> -p <mysql-pass>


-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: ordinaryegi on September 20, 2016, 6:43 am | Post: 2
the result is
ERROR 1045 (28000): Access denied for user 'root'@'IP' (using password: YES)

Posted By: ordinaryegi on September 20, 2016, 6:48 am | Post: 3
[/quote]

Hi,

It might be due to incorrect virtualizor server IP specified while installing PDNS.
Can you check if you are able to connect to the PDNS server from your Virtualizor server using the command :

/usr/local/emps/bin/mysql -h <pdns-ip> -u <mysql-user> -p <mysql-pass>
[/quote]

i'm followed the guidelines
./pdns_install.sh --mysql-username=root --mysql-password=password --virt-serverip=IP 1--masterns-ip=IP2 --slavens-ip=IP3 --slavens-rootpass=password


Posted By: asim_shaikh on September 20, 2016, 6:50 am | Post: 4
Quote
the result is

ERROR 1045 (28000): Access denied for user 'root'@'IP' (using password: YES)


Hi,

To solve this issue you will need to
-> SSH your PDNS server
-> enter into mysql
-> Grant virtuzlior server IP access to the PDNS mysql Database using the following commands :

mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'<virt-ip>' IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;

mysql> FLUSH PRIVILEGES;

If you want us to make the changes then please provide us the access in the ticket it self.



-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: asim_shaikh on September 20, 2016, 6:53 am | Post: 5
Quote
./pdns_install.sh --mysql-username=root --mysql-password=password
--virt-serverip=IP 1--masterns-ip=IP2 --slavens-ip=IP3
--slavens-rootpass=password


The "--virt-serverip" should be the Virtualizor server IP and not any other IP, which is the reason you are not able to connect to your PDNS server from your Virtualizor panel.


-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: ordinaryegi on September 20, 2016, 7:02 am | Post: 6
no, IP1 is virt server IP's

Posted By: asim_shaikh on September 20, 2016, 7:09 am | Post: 7
Quote
no, IP1 is virt server IP's
       


Hi,

Can you update your Virtualizor server access details in the ticket so that we can check and fix the issue ?


-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: ordinaryegi on September 20, 2016, 7:12 am | Post: 8
i've already make the ticket, and reply for server access


thank's

Posted By: ordinaryegi on September 22, 2016, 2:52 am | Post: 9
Solved after open some ports, thank you Virtualizor Support Teams :xd:

Posted By: asim_shaikh on September 22, 2016, 6:31 am | Post: 10
Quote
Solved after open some ports, thank you Virtualizor Support Teams :xd:

Hi,

Glad to know that the issue has been resolved.
Please let us know if you need any further assistance.


-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: ganewbie on November 27, 2016, 1:28 pm | Post: 11
Quote From : ordinaryegi September 22, 2016, 2:52 am
Solved after open some ports, thank you Virtualizor Support Teams :xd:


What ports do you need for Powerdns?

Thanks,

Posted By: asim_shaikh on November 28, 2016, 3:53 am | Post: 12
Quote
What ports do you need for Powerdns?


Hi,

By default mysql listens on port 3306, so if you not changed the default mysql port you will need to open port 3306 on your virtualizor and PDNS server.


-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: rapptor on January 31, 2018, 8:02 am | Post: 13
Hi,

Only one more question - virt-serverip is the internal IP of the physical machine or my public IP

Thank you!

Posted By: chirag on February 8, 2018, 10:47 am | Post: 14
Hi,

Sir vir-serverip is the IP address of the Server where Virtualizor is installed. i.e. Public IP suing which you are accessing the Virtualizor panel.

-----------------------
Virtualizor - VPS Control Panel
Follow us on Facebook

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.