Skip to content
HALOWERK

Calculators and Rule Checks

dns dual host retention

DNS origin retention combines the observed IPv4 cache horizon with a supplied session-drain interval. Use it when an agent needs to schedule a DNS change from a recursive resolver observation.

POST https://rechen.halowerk.com/v1/dns-dual-host-retention

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
domainstringYes
session_secondsintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "maxLength": 512,
      "minLength": 1
    },
    "session_seconds": {
      "type": "integer",
      "minimum": 0,
      "maximum": 2147483647
    }
  },
  "required": [
    "domain",
    "session_seconds"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "domain": "halowerk.com",
  "session_seconds": 60
}

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": {
        "dns_seconds": {
          "type": "integer"
        },
        "retain_seconds": {
          "type": "integer"
        }
      },
      "required": [
        "dns_seconds",
        "retain_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 →