Dns header flags explain

dns-header-flags-explain · version 1.0.0 · Communications · free, no key needed

Explain an RFC 1035 DNS header flags word, with reserved Z as an integer 0 through 7.

Use when you need to: explain dns header flags word · decode rfc 1035 qr opcode and rcode · split a dns flags hex word.

Decide before calling

Read the versioned contract and the supported scope below. Reuse dns-header-flags-explain@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use dns-header-flags-explain@1.0.0 for explain dns header flags word. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "flags_hex": "0070"
}

Response:

{
  "result": {
    "flags": 112,
    "flags_hex": "0070",
    "qr": false,
    "opcode": 0,
    "opcode_name": "query",
    "aa": false,
    "tc": false,
    "rd": false,
    "ra": false,
    "z": 7,
    "rcode": 0,
    "rcode_name": "no_error"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "dns-header-flags-explain",
  "version": "1.0.0",
  "input": {
    "flags_hex": "0070"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/dns-header-flags-explain/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"flags_hex":"0070"}'

The machine-readable contract is at /v1/tools/dns-header-flags-explain/versions/1.0.0.

CLI

node cli.mjs run dns-header-flags-explain 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.