POST
https://api.zilore.com/dns/v1/domains/{domain_name}/geo
Parameter |
Description |
---|---|
domain_name |
Domain name. Must conform to the standard. Names of national domains must be passed in Punycode format. |
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_type |
Record type:
|
geo_region |
GEO-identifier of the record from geo_records |
record_value |
Record value for the region. 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. |
Record value formats by type:
Parameter |
Description |
---|---|
record_id |
Identifier for added geo record |
POST https://api.zilore.com/dns/v1/domains/example.com/geo
X-Auth-Key: 6fac94db-691b-ec08-d22c-00000b7c06c0
Content-Type: application/x-www-form-urlencoded
record_name=a.example.com&record_type=A&record_value=1.1.1.100&geo_region=_NA