Workshop wiki · English

Example Documentation: Delegation and glue

Parent and child zone show NS delegation and glue requirement.

Workshop examples as ZIP files
Learning progress in the web app

Mark chapters as read, view reading progress and check off practice modules after enabling the optional web app. Workshop progress is calculated from chapters across all document pages. Your choices stay on this device; there is no account or server sync. Installation is not required. Withdrawing your choice in Privacy settings deletes the progress.

Reading progress0%
0%
0 / 12 chapters read
Other language versionGerman ↗Greek ↗

Example Documentation: Delegation and glue

1. Goal

Parent and child zone show NS delegation and glue requirement.

01 / 12

2. What is done

The example creates local evidence below work/, validates zone files and checks optional tool output when DNS tools are installed.

02 / 12

3. Why it is done

DNS failures often look like application or network failures. Only RCODE, SOA, TTL, delegation, resolver path and cache state allow reliable root cause analysis.

03 / 12

4. Typical commands

bash
dig example.test SOA +norecurse 2>/dev/null || true
dig www.example.test A +dnssec 2>/dev/null || true
dig example.test NS +trace 2>/dev/null || true
named-checkzone example.test zones/db.example.test 2>/dev/null || true
04 / 12

5. Verify success

  • Artifacts are syntactically valid.
  • Evidence exists below work/evidence/.
  • RCODE, RRtype and zone are named.
  • TTL, cache or delegation are framed when needed.
  • No production secrets are used.
05 / 12

6. Common mistakes

  • Zone file without SOA or NS.
  • CNAME with other records at the same owner name.
  • Missing glue for in-zone name servers.
  • DNSSEC SERVFAIL mistaken for network failure.
  • TTL and negative cache behavior underestimated.
06 / 12

7. Security aspects

DNS is infrastructure. Wrong resolver ACLs, open transfers, unsafe dynamic updates or weak DNSSEC processes can have broad impact.

07 / 12

8. Realistic use

The example applies to provider changes, internal zones, Kubernetes DNS, split-horizon designs, mail DNS, resolver operations and incident response.

08 / 12

9. Workshop flow

  1. Read the goal.
  2. Open artifacts.
  3. Run run.sh.
  4. Inspect evidence.
  5. Name the DNS role.
  6. Explain RCODE and RRtype.
  7. Evaluate TTL and rollback.
  8. Review the result.
09 / 12

10. Review matrix

Review field Expectation
Role Stub, recursive or authoritative is named.
Zone Zone, owner name and RRtype are clear.
Answer RCODE and sections are understood.
Operations TTL, cache and rollback are documented.
Security Secrets and production zones are excluded.
10 / 12

Official References

  • RFC 1034: https://datatracker.ietf.org/doc/html/rfc1034
  • RFC 1035: https://datatracker.ietf.org/doc/html/rfc1035
  • RFC 8499: https://www.rfc-editor.org/info/rfc8499/
  • RFC 6891 EDNS(0): https://datatracker.ietf.org/doc/html/rfc6891
  • RFC 4033 DNSSEC: https://datatracker.ietf.org/doc/html/rfc4033
  • RFC 9364 DNSSEC BCP: https://www.rfc-editor.org/info/rfc9364/
  • ISC BIND 9 Documentation: https://bind9.readthedocs.io/
  • CoreDNS Documentation: https://coredns.io/manual/toc/

11 / 12

Example Appendix: Evidence, Operations and Transfer

This appendix makes the example complete as a training component. It describes how a local DNS model becomes reliable analysis without touching production domains or provider credentials.

B.1 Define scope

Define scope is required because DNS failures are often explainable only by combining zone, resolver path, cache and transport. The assessment must state whether an artifact only explains, validates locally or would be applied to a real zone.

Question Expectation
What is affected? Stub, resolver, authoritative server, zone, delegation, cache, DNSSEC or transport is named.
What is proven? A file or output below work/evidence/ shows the finding.
What remains open? Requirements for real zones or providers are documented as boundary.

Review points:

  • no production zones
  • no real TSIG or DNSSEC keys
  • no provider API tokens
  • no unreviewed TTL or delegation changes
  • cleanup possible by removing work/

B.2 Validate artifacts

Validate artifacts is required because DNS failures are often explainable only by combining zone, resolver path, cache and transport. The assessment must state whether an artifact only explains, validates locally or would be applied to a real zone.

Question Expectation
What is affected? Stub, resolver, authoritative server, zone, delegation, cache, DNSSEC or transport is named.
What is proven? A file or output below work/evidence/ shows the finding.
What remains open? Requirements for real zones or providers are documented as boundary.

Review points:

  • no production zones
  • no real TSIG or DNSSEC keys
  • no provider API tokens
  • no unreviewed TTL or delegation changes
  • cleanup possible by removing work/

B.3 Name DNS role

Name DNS role is required because DNS failures are often explainable only by combining zone, resolver path, cache and transport. The assessment must state whether an artifact only explains, validates locally or would be applied to a real zone.

Question Expectation
What is affected? Stub, resolver, authoritative server, zone, delegation, cache, DNSSEC or transport is named.
What is proven? A file or output below work/evidence/ shows the finding.
What remains open? Requirements for real zones or providers are documented as boundary.

Review points:

  • no production zones
  • no real TSIG or DNSSEC keys
  • no provider API tokens
  • no unreviewed TTL or delegation changes
  • cleanup possible by removing work/

B.4 Interpret RCODE

Interpret RCODE is required because DNS failures are often explainable only by combining zone, resolver path, cache and transport. The assessment must state whether an artifact only explains, validates locally or would be applied to a real zone.

Question Expectation
What is affected? Stub, resolver, authoritative server, zone, delegation, cache, DNSSEC or transport is named.
What is proven? A file or output below work/evidence/ shows the finding.
What remains open? Requirements for real zones or providers are documented as boundary.

Review points:

  • no production zones
  • no real TSIG or DNSSEC keys
  • no provider API tokens
  • no unreviewed TTL or delegation changes
  • cleanup possible by removing work/

B.5 Evaluate TTL

Evaluate TTL is required because DNS failures are often explainable only by combining zone, resolver path, cache and transport. The assessment must state whether an artifact only explains, validates locally or would be applied to a real zone.

Question Expectation
What is affected? Stub, resolver, authoritative server, zone, delegation, cache, DNSSEC or transport is named.
What is proven? A file or output below work/evidence/ shows the finding.
What remains open? Requirements for real zones or providers are documented as boundary.

Review points:

  • no production zones
  • no real TSIG or DNSSEC keys
  • no provider API tokens
  • no unreviewed TTL or delegation changes
  • cleanup possible by removing work/

B.6 Check delegation

Check delegation is required because DNS failures are often explainable only by combining zone, resolver path, cache and transport. The assessment must state whether an artifact only explains, validates locally or would be applied to a real zone.

Question Expectation
What is affected? Stub, resolver, authoritative server, zone, delegation, cache, DNSSEC or transport is named.
What is proven? A file or output below work/evidence/ shows the finding.
What remains open? Requirements for real zones or providers are documented as boundary.

Review points:

  • no production zones
  • no real TSIG or DNSSEC keys
  • no provider API tokens
  • no unreviewed TTL or delegation changes
  • cleanup possible by removing work/

B.7 Record security boundaries

Record security boundaries is required because DNS failures are often explainable only by combining zone, resolver path, cache and transport. The assessment must state whether an artifact only explains, validates locally or would be applied to a real zone.

Question Expectation
What is affected? Stub, resolver, authoritative server, zone, delegation, cache, DNSSEC or transport is named.
What is proven? A file or output below work/evidence/ shows the finding.
What remains open? Requirements for real zones or providers are documented as boundary.

Review points:

  • no production zones
  • no real TSIG or DNSSEC keys
  • no provider API tokens
  • no unreviewed TTL or delegation changes
  • cleanup possible by removing work/

B.8 Write rollback

Write rollback is required because DNS failures are often explainable only by combining zone, resolver path, cache and transport. The assessment must state whether an artifact only explains, validates locally or would be applied to a real zone.

Question Expectation
What is affected? Stub, resolver, authoritative server, zone, delegation, cache, DNSSEC or transport is named.
What is proven? A file or output below work/evidence/ shows the finding.
What remains open? Requirements for real zones or providers are documented as boundary.

Review points:

  • no production zones
  • no real TSIG or DNSSEC keys
  • no provider API tokens
  • no unreviewed TTL or delegation changes
  • cleanup possible by removing work/

B.9 Clean evidence

Clean evidence is required because DNS failures are often explainable only by combining zone, resolver path, cache and transport. The assessment must state whether an artifact only explains, validates locally or would be applied to a real zone.

Question Expectation
What is affected? Stub, resolver, authoritative server, zone, delegation, cache, DNSSEC or transport is named.
What is proven? A file or output below work/evidence/ shows the finding.
What remains open? Requirements for real zones or providers are documented as boundary.

Review points:

  • no production zones
  • no real TSIG or DNSSEC keys
  • no provider API tokens
  • no unreviewed TTL or delegation changes
  • cleanup possible by removing work/

B.10 Run cleanup

Run cleanup is required because DNS failures are often explainable only by combining zone, resolver path, cache and transport. The assessment must state whether an artifact only explains, validates locally or would be applied to a real zone.

Question Expectation
What is affected? Stub, resolver, authoritative server, zone, delegation, cache, DNSSEC or transport is named.
What is proven? A file or output below work/evidence/ shows the finding.
What remains open? Requirements for real zones or providers are documented as boundary.

Review points:

  • no production zones
  • no real TSIG or DNSSEC keys
  • no provider API tokens
  • no unreviewed TTL or delegation changes
  • cleanup possible by removing work/

B.11 Completion

An example is complete when the script runs successfully, all artifacts are syntactically valid, the DNS role is named and evidence contains no confidential data.

12 / 12

DNS · Orthevs Academy

31 modules as one continuous learning path.

The sequence remains unchanged: from the lab skeleton through technical foundations and operating models to final troubleshooting. The technical directory names are deliberately preserved.

Orthevs – Engineering the foundation for what comes next.

Orthevs as an app

Install Orthevs

The Orthevs web app can be installed on supported mobile devices and desktop browsers.

iPhone and iPad

Open Orthevs in Safari. Tap Share, then Add to Home Screen. Enable Open as Web App if offered, then tap Add.

Android

For the web app, open the browser menu and choose Install app or Add to Home screen. Confirm the installation.

Desktop browser

Open the browser menu or the install icon in the address bar, then choose Install app or Add to Dock.

Web app installation depends on your browser. If no install prompt appears, follow the browser steps shown above.