Create DNS record

post/domains/{domain}/dns

Request

  • Base URL: https://namemy.app/api/v1
  • URL: https://namemy.app/api/v1/domains/{domain}/dns
  • Auth: HTTP bearer

Request body

type'A' | 'AAAA' | 'CNAME' | 'MX' | 'TXT' | 'NS' | 'SRV' | 'CAA' required
hoststring required
valuestring required
ttlinteger
priorityinteger

Response

Record created

idstring
type'A' | 'AAAA' | 'CNAME' | 'MX' | 'TXT' | 'NS' | 'SRV' | 'CAA'
hoststring
valuestring
ttlinteger
priorityinteger nullable

Example response

{
  "host": "@",
  "value": "76.76.21.21",
  "ttl": 300
}

Changes

No recorded changes to this operation across all 2 revisions of this API.