Obtain nameserver info
Currently I am working on a plugin need to be able to pull the servers NS settings.
Meaning I am trying to add in a value"" the servers set ns1.example.com and ns2.example.com
Where is the best place to pull that info and or how if anyone else has done this.
Using a mix of PHP and HTML just falling short pulling that info in from the server.
Thanks
-
Hello, You can use the following WHM API 1 function: WHM API 1 Functions - get_nameserver_config - Developer Documentation - cPanel Documentation Thank you. 0 -
Perfect! Exactly what I was looking for. Could not find that for the life of me. Thank you! 0 -
Hello, I'm glad to see that helped. I've marked this thread as solved. 0
Please sign in to leave a comment.
Comments
3 comments