NetworkCalc · Capability

NetworkCalc API — DNS

NetworkCalc API — DNS. 1 operations. Lead operation: DNS lookup. Self-contained Naftiko capability covering one Networkcalc business surface.

Run with Naftiko NetworkcalcDNS

What You Can Do

GET
Get — DNS lookup
/v1/dns/lookup/{domain}

MCP Tools

dns-lookup

DNS lookup

read-only idempotent

Capability Spec

networkcalc-dns.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NetworkCalc API — DNS
  description: 'NetworkCalc API — DNS. 1 operations. Lead operation: DNS lookup. Self-contained Naftiko capability covering
    one Networkcalc business surface.'
  tags:
  - Networkcalc
  - DNS
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NETWORKCALC_API_KEY: NETWORKCALC_API_KEY
capability:
  consumes:
  - type: http
    namespace: networkcalc-dns
    baseUri: https://networkcalc.com/api
    description: NetworkCalc API — DNS business capability. Self-contained, no shared references.
    resources:
    - name: dns-lookup-domain
      path: /dns/lookup/{domain}
      operations:
      - name: get
        method: GET
        description: DNS lookup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domain
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: networkcalc-dns-rest
    port: 8080
    description: REST adapter for NetworkCalc API — DNS. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/dns/lookup/{domain}
      name: dns-lookup-domain
      description: REST surface for dns-lookup-domain.
      operations:
      - method: GET
        name: get
        description: DNS lookup
        call: networkcalc-dns.get
        with:
          domain: rest.domain
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: networkcalc-dns-mcp
    port: 9090
    transport: http
    description: MCP adapter for NetworkCalc API — DNS. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: dns-lookup
      description: DNS lookup
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: networkcalc-dns.get
      with:
        domain: tools.domain
      outputParameters:
      - type: object
        mapping: $.