resolve
Last updated
Last updated
Resolves the record of a second-level domain with the specific type. The maximum resolving depth is 2.
For example, when you resolve a domain "test.neo" with the IPV4 type:
if the domain has a IPV4 record, then the record is returned directly
if the domain has a canonical name record "alias.neo", which involves a IPV4 record, then the IPV4 record is returned.
Name | Type | Description | Required |
---|---|---|---|
Request body #1
In this example, suppose "test1.neo" has no text record, but it has the cname record "test2.neo"; "test2.neo" has no text record, but it has the cname record "test3.neo"; "test3.neo" has a text record "test3". Then resolving "test1.neo" with the text record will return test3.
Response body #1
Request body #2
In this example, the depth is greater than 2 and no record is found.
Response body #2
name
String
The second-level domain, e.g. "test.neo"
Required
type
Integer
Available types are: 1 - IPV4 address record 5 - Canonical name record 16 - Text record 28 - IPV6 address record