Skip to content
HALOWERK

Agent Tools

dns

DNS records lookup for a hostname or domain. Query A, AAAA, CNAME, MX, NS, TXT, CAA or SOA and receive the matching DNS answers in JSON. MX results include mail-server priorities.

POST https://tools.halowerk.com/v1/dns

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
hoststringYesHostname or record name, underscores allowed (e.g. example.com, _dmarc.example.com); not an IP literal, localhost or a reserved/internal suffix
typestringNoRecord type, default A
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "host": {
      "type": "string",
      "minLength": 1,
      "maxLength": 253,
      "description": "Hostname or record name, underscores allowed (e.g. example.com, _dmarc.example.com); not an IP literal, localhost or a reserved/internal suffix"
    },
    "type": {
      "type": "string",
      "enum": [
        "A",
        "AAAA",
        "CNAME",
        "MX",
        "NS",
        "TXT",
        "CAA",
        "SOA"
      ],
      "default": "A",
      "description": "Record type, default A"
    }
  },
  "required": [
    "host"
  ]
}

Open original schema

Published input example

{
  "host": "example.com",
  "type": "MX"
}

Result & documentation

Show published result schema
{
  "$ref": "https://tools.halowerk.com/v1/dns/schema#/outputSchema"
}

Open published result example

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’