Reply

Error while creating CNAME record

Authority
Posts: 21
2881     0

Hi All

 

I am trying to create CNAME record from postman

below are the details

 

https://ddi.net/wapi/v2.10.5/record:cname?_return_fields%2B=name,canonical&_return_as_object=1
{
    "name":"testserver01",
    "canonical":"testserver01.za.net"
    
}

I am getting the below error while executing this

 

{
    "Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:The action is not allowed. A parent was not found.)",
    "code": "Client.Ibap.Data.Conflict",
    "text": "The action is not allowed. A parent was not found."
}

Please if anyone one can let me know what is the issue with this

Re: Error while creating CNAME record

Adviser
Posts: 181
2882     0

Hi,

 

The issue here is that the name you specify has to be in FQDN format. The error indicates that there is no zone because your name is not in FQDN format.

Here is a sample:

curl --location --request POST 'https://grid-master/wapi/v2.10/record:cname' \
--header 'Authorization: Basic auth=' \
--header 'Content-Type: application/json' \
--data-raw '{
	"name":"cnametest.demo.info.com", 
	"canonical":"demo.info.com"
}'

Regards,

Krishna

Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin