POST
https://api.zilore.com/dns/v1/domains/{domain_name}/records
Parameter |
Description |
---|---|
domain_name |
Domain name. Must conform to the standard. Names of national domains must be passed in Punycode format. |
record_type |
Record type:
|
record_ttl |
Maximum permitted time for record to be cached. The list of possible values depends on your tariff plan and can be found using list_valid_record_ttl. |
record_name |
Name of record. Must conform to the standard. Names of national domains must be passed in Punycode format. Absolutely must include domain name. For example: foo.example.com if a record is being added to the example.com domain. |
record_value |
Record value. Must conform to the standard. Names of national domains must be passed in Punycode format. The format of the value depends on the record type. |
Value format depending on record type:
Parameter |
Description |
---|---|
record_id |
Identifier for added record |
record_status |
Message on successful addition |
POST https://api.zilore.com/dns/v1/domains/example.com/records
X-Auth-Key: 6fac94db-691b-ec08-d22c-00000b7c06c0
Content-Type: application/x-www-form-urlencoded
record_name=www.example.com&record_type=A&record_value=203.0.113.1&record_ttl=3600