smithery.ai

run-dns-server

Guide for running a local containerized DNS server. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.

First seen Mar 29, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,407 B
  • docs SUMMARY.md 163 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Before running any acceptance tests for the DNS provider, start a DNS server:

  1. Check whether the DNS server is already alive by querying its locally-mapped port:

`` dig @127.0.0.1 -p 15353 +short ns.example.com `` Expected command output is "127.0.0.1."

  1. If the DNS server is not already alive, then start the DNS server by running this command in the background:

`` docker run --privileged --cgroupns=host -d --tmpfs /tmp --tmpfs /run \ -v /sys/fs/cgroup:/sys/fs/cgroup:rw \ -v /etc/localtime:/etc/localtime:ro \ -v $PWD/internal/provider/testdata/named.conf.kerberos:/etc/named.conf:ro \ -p 127.0.0.1:15353:53 \ -p 127.0.0.1:15353:53/udp \ --rm --name ns --hostname ns.example.com ns ``

  1. After starting the DNS server, verify that the DNS server is alive by querying its locally-mapped port:

`` dig @127.0.0.1 -p 15353 +short ns.example.com `` Expected command output is "127.0.0.1." Display no output unless there is a problem.

  1. If there is a problem, do not run the acceptance tests.

Add these environment variables to all go test commands for acceptance tests in the DNS provider:

  • DNSUPDATESERVER=127.0.0.1
  • DNSUPDATEPORT=15353