I’m attempting to do a POST to /api/v2/networks/{collection-id}/addresses to grab an IP address and put a DNS name on it. This is working find except when I attempt to add a wildcard DNS entry like the following:
{
"name": "*.example.net", ← This puts a name on the IPv4 address object
"type": "IPv4Address",
"state": "STATIC",
"userDefinedFields": {
"mnemonic": "OCP"
},
"resourceRecords":
{
"type": "HostRecord",
"absoluteName": "*.example.net", ← This should put a host record into the example.net zone
"views":
{
"id": "93864"
}
],
"userDefinedFields": {
"mnemonic": "OCP"
}
}
]
}
{
"status": 400,
"reason": "Bad Request",
"code": "InvalidFullyQualifiedDomainName",
"message": "The value for resource field 'resourceRecords0].absoluteName' is not a valid fully qualified domain name"
}
Any one done this and happen to know the right syntax? I’ve tried a number of ways to escape the wildcard in Postman with no luck.