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!

XML API - meaning of <nameserver*> elements in output

Discussion in 'cPanel Developers' started by webignition, Aug 4, 2007.

  1. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    XML API - meaning of <nameserver*> elements in output of /xml-api/createacct

    I don't see this covered in much detail in the docs, but please excuse me if I've missed something.

    In the output when creating an account, the following name server-related elements are present:

    Code:
          <nameserver>ns1.example.com</nameserver>
          <nameserver2>ns2.example.com</nameserver2>
          <nameserver3>ns3.example.com</nameserver3>
          <nameserver4>ns4.example.com</nameserver4>
          <nameservera></nameservera>
          <nameservera2></nameservera2>
          <nameservera3></nameservera3>
          <nameservera4></nameservera4>
          <nameserverentry></nameserverentry>
          <nameserverentry2></nameserverentry2>
          <nameserverentry3></nameserverentry3>
          <nameserverentry4></nameserverentry4>
    The first four are pretty self-explanatory. The other eight don't, to me, have a clear purpose.

    Would anyone know what purpose, if any, the serve?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 webignition, Aug 4, 2007
    Last edited: Aug 5, 2007
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Those 8 other entries can be ignored. Generally they're used when you pass a parameter to use registered nameservers.
     
Loading...
Similar Threads - meaning <nameserver*> elements
  1. Nirjonadda
    Replies:
    1
    Views:
    122

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