Workshop wiki · English

Example Documentation: DNS troubleshooting

A decision tree connects stub, resolver, authoritative server, delegation, DNSSEC, cache and transport.

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: DNS troubleshooting

1. Goal

A decision tree connects stub, resolver, authoritative server, delegation, DNSSEC, cache and transport.

01 / 12

2. What is done

The example validates local artifacts and creates evidence below work/.

02 / 12

3. Why it is done

DNS failures need evidence about RCODE, zone, TTL, delegation and resolver path.

03 / 12

4. Typical commands

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

5. Verify success

  • Artifacts are valid.
  • Evidence exists.
  • No production data is used.
05 / 12

6. Common mistakes

  • wrong RRtype.
  • TTL ignored.
  • resolver cache confused with authoritative data.
06 / 12

7. Security aspects

DNS configurations must not contain real secrets or provider credentials.

07 / 12

8. Realistic use

The pattern applies to change reviews, operations and incident response.

08 / 12

9. Workshop flow

  1. Read artifacts.
  2. Run script.
  3. Inspect evidence.
  4. Document risk.
09 / 12

10. Review matrix

Review field Expectation
Zone Zone and name are clear.
Answer RCODE is explained.
Operations TTL and rollback are evaluated.
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/

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.