Skip to content
HALOWERK

Calculators and Rule Checks

dns two site switch order

DNS switch sequencing compares two hosts and reports the lead time needed for their observed TTL windows to end together. Use it when an agent needs to schedule a DNS change from a recursive resolver observation.

POST https://rechen.halowerk.com/v1/dns-two-site-switch-order

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
domainstringYes
peerstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "maxLength": 512,
      "minLength": 1
    },
    "peer": {
      "type": "string",
      "maxLength": 512,
      "minLength": 1
    }
  },
  "required": [
    "domain",
    "peer"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "domain": "halowerk.com",
  "peer": "gov.halowerk.com"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "start_first": {
          "type": "string"
        },
        "lead_seconds": {
          "type": "integer"
        }
      },
      "required": [
        "start_first",
        "lead_seconds"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

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 →