Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Obtain nameserver info

Discussion in 'General Discussion' started by GreenOliveTree, Mar 6, 2018.

  1. GreenOliveTree

    GreenOliveTree Registered

    Joined:
    Mar 6, 2018
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    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
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,870
    Likes Received:
    1,811
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. GreenOliveTree

    GreenOliveTree Registered

    Joined:
    Mar 6, 2018
    Messages:
    2
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Perfect! Exactly what I was looking for. Could not find that for the life of me.
    Thank you!
     
    cPanelMichael likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,870
    Likes Received:
    1,811
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm glad to see that helped. I've marked this thread as solved.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice