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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,182
    Likes Received:
    1,756
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  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,182
    Likes Received:
    1,756
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm glad to see that helped. I've marked this thread as solved.
     
Loading...

Share This Page