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.

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:
    36
    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?
     
    #1 webignition, Aug 4, 2007
    Last edited: Aug 5, 2007
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    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...

Share This Page