Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Error while creating CNAME record
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2021 04:28 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2021 03:55 AM
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