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 DNS (killdns response error)

Discussion in 'cPanel Developers' started by paulipv, Jul 13, 2009.

  1. paulipv

    paulipv Member

    Joined:
    Jul 2, 2009
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Array
    (
    [killdns] => Array
    (
    [result] => Array
    (
    [0] => Array
    (
    [rawout] => Unable to remove zone test123.net from the Bind configuration (named.conf) on central.
    The zone was possibly removed earlier on central.

    [status] => 1
    [statusmsg] => Zones Removed
    )

    )

    )

    )

    i think corect status need to be 0
    and statusmsg = Zone not exist..
     
  2. Luke Carrier

    Luke Carrier Active Member

    Joined:
    May 27, 2009
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    No, not really. Does the zone exist on that server? If it does, then the API is returning an error and should be patched. If the zone does not exist, this behaviour is okay really - the zone doesn't exist and so cannot cause issues. Think about it *logically* ;)
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Since it may be removing it from multiple servers. It only returns 0 if the request fails. There is currently no return value for number of zones removed (this could be a feature request though).
     
Loading...

Share This Page