Developer Center

DeleteCNS() - Delete Child Nameserver

It is used to delete the child nameserver address of domain name, if not supported an error message appears.

public function DeleteCNS($params=[],$ns='',$ip=''){
    $domain     = idn_to_ascii($params["domain"],0,INTL_IDNA_VARIANT_UTS46);
    $ns         = idn_to_ascii($ns,0,INTL_IDNA_VARIANT_UTS46);

    $delete     = $this->api->delete_child_nameserver($domain,$ns,$ip);
    if(!$delete){
        $this->error = $this->api->error;
        return false;
    }
    
    return true;
}

Parameters;

  • $params Provides the value of [options] index in the $order variable in the class.
  • $ns Nameserver name, example: example.com
  • $rope Nameserver IP address, example: 192.168.1.1

Retrieval Value;

Boolean (true or false) should be displayed.

ModifyCNS() - Child Nameserver Update ModifyWhois() - Update Whois

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top

New Year's Special Discount

"Startup Lifetime" and "Professional Lifetime" licenses are 30% off!

Coupon Code:
HAPPYYEARS30 Copied!
Discount Rate 30%
Expiration Date December 31, 2024