Method | URI | Description |
---|---|---|
PUT | /v2/{tenant_id}/os-floating-ip-dns/{domain} | Creates or updates a DNS domain. |
Normal response codes: 200
This table shows the URI parameters for the create or update dns domain request:
Name | Type | Description |
---|---|---|
| String | The unique identifier of the tenant or account. |
| String | Registered DNS domain published by the DNS drivers. |
Example 3.177. Create or update DNS domain: JSON request
{ "domain_entry":{ "domain":"domain1.example.org", "scope":"public", "project":"project1" } }
Example 3.178. Create or update DNS domain: XML request
<?xml version='1.0' encoding='UTF-8'?> <domain_entry> <domain>domain1.example.org</domain> <scope>public</scope> <project>project1</project> </domain_entry>
This operation does not require a request body.
Example 3.179. Create or update DNS domain: JSON response
{ "domain_entry": { "availability_zone": null, "domain": "domain1.example.org", "project": "project1", "scope": "public" } }
Example 3.180. Create or update DNS domain: XML response
<?xml version='1.0' encoding='UTF-8'?> <domain_entry project="project1" scope="public" domain="domain1.example.org" availability_zone="None"/>
This operation does not return a response body.