Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    19

    Default XML-API DNS (killdns response error)

    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. #2
    Member
    Join Date
    May 2009
    Posts
    29

    Default

    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*
    Thanks, Luke Carrier
    edgeWeb - the cutting edge web host
    Free cPanel 11 hosting now available!

  3. #3
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    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).
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

Similar Threads & Tags
Similar threads

  1. DNS Setup/edit domain forwarding via XML/JSON API
    By abrakadabra in forum Feature Requests for cPanel/WHM
    Replies: 2
    Last Post: 09-02-2011, 06:24 AM
  2. xml-api removeacct error
    By uzor in forum cPanel Developers
    Replies: 2
    Last Post: 07-14-2011, 08:12 AM
  3. Xml api creatacc problem - server response break
    By jerome.chevreau in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-05-2011, 02:10 AM
  4. Extending XML API response
    By broncha in forum cPanel Developers
    Replies: 1
    Last Post: 04-13-2010, 10:08 AM
  5. XML-API Posible Error
    By paulipv in forum cPanel Developers
    Replies: 1
    Last Post: 07-09-2009, 01:49 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube