Queries DNS for a specified name and record type, and returns the responses.
If successful, this endpoint will return a 200 OK status.
The following arguments are supported for this endpoint.
| Name | Type | Default Value |
|---|---|---|
|
hostname Required The hostname to query |
String | None |
|
type Required The requested record type |
String | None |
|
trace Run a full recursive lookup starting from the root nameservers and return only uncached data |
Boolean | false |
When the request is successful, you can expect an object matching the specification below to be returned.
{ results: [ DNS Response { server: String answers: [ DNS Answer { name: String ttl: Integer type: String value: String } ] } ] }