Skip to content
HALOWERK

Calculators and Rule Checks

dns rollback dual cache

DNS rollback timing compares remaining original-answer cache time with a supplied replacement-answer lifetime at rollback. Use it when an agent needs to schedule a DNS change from a recursive resolver observation.

POST https://rechen.halowerk.com/v1/dns-rollback-dual-cache

Inputs

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

Open original schema

Published input example

{
  "domain": "halowerk.com",
  "rollback_after": 60,
  "replacement_ttl": 300
}

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": {
        "legacy_remaining": {
          "type": "integer"
        },
        "replacement_bound": {
          "type": "integer"
        },
        "overlap_bound": {
          "type": "integer"
        }
      },
      "required": [
        "legacy_remaining",
        "replacement_bound",
        "overlap_bound"
      ]
    },
    "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 →