DedSec Project

DNS, Routing, BGP and Internet Infrastructure Security — DedSec Project

DNS, Routing, BGP and Internet Infrastructure Security Internet security depends on naming and routing systems that are distributed, cached, policy-driven, and only partially under any…

Internet security depends on naming and routing systems that are distributed, cached, policy-driven, and only partially under any single organization’s control. This module explains the trust model and failure modes without treating Internet infrastructure as a target.

Learning objectives

By the end of this module you should be able to:

Deep concepts

1. DNS resolution chain

Stub resolvers, recursive resolvers, authoritative servers, delegations, caching, negative caching, and DNSSEC each participate in answering a name. A useful investigation separates “who asked,” “who recursed,” “who is authoritative,” and “what was cached.”

2. DNSSEC

DNSSEC provides origin authentication and integrity for signed DNS data; it does not encrypt queries and it does not make a maliciously registered domain trustworthy. Validation failures should be distinguished from ordinary NXDOMAIN, SERVFAIL, and transport failures.

3. Registrar and zone control

Domain takeover risk often begins in account security, delegation mistakes, stale records, or forgotten cloud resources rather than in the DNS protocol itself. Protect registrar identity, enforce MFA, inventory NS/DS records, and track ownership of every externally referenced resource.

4. Anycast and recursive services

Large DNS services commonly use anycast. The same service address can terminate at different sites, so latency, path, and incident evidence can vary geographically even when the logical destination is unchanged.

5. BGP path selection

BGP exchanges reachability between autonomous systems. Routing policy, prefix specificity, local preference, AS paths, communities, and business relationships influence which path is selected; BGP is not a shortest-path protocol in the ordinary sense.

6. Route-origin validation

RPKI and route-origin validation help networks evaluate whether an AS is authorized to originate a prefix. They improve one part of routing assurance but do not prove the entire AS path is legitimate.

7. Control-plane monitoring

Defenders should baseline authoritative DNS changes, certificate issuance, route announcements, RPKI state, nameserver changes, and cloud endpoint ownership. External control-plane drift can be an early sign of configuration failure or account compromise.

8. Resilience design

Use multiple authoritative DNS servers/providers where appropriate, protect registrar recovery, document TTL strategy, maintain break-glass contacts, and rehearse domain/routing incident playbooks before an outage occurs.

Authorized exercises

Exercise 1 — Trace the full resolution path for a domain you own using passive/publicly documented information and draw the delegation chain

Trace the full resolution path for a domain you own using passive/publicly documented information and draw the delegation chain.

Exercise 2 — Create a tabletop exercise for accidental deletion of a DNS zone and list recovery dependencies in order

Create a tabletop exercise for accidental deletion of a DNS zone and list recovery dependencies in order.

Exercise 3 — Build a worksheet that separates DNS integrity, DNS confidentiality, registrar security, certificate issuance, and routing security controls

Build a worksheet that separates DNS integrity, DNS confidentiality, registrar security, certificate issuance, and routing security controls.

Knowledge checks

  1. Explain the most important trust boundary in DNS, Routing, BGP and Internet Infrastructure Security without naming a security tool.
  2. Give one example where cryptographic or authentication success still does not imply authorization success.
  3. Describe one stale-state or replay condition relevant to this module.
  4. Identify one telemetry source that can support a strong conclusion and one blind spot it still leaves.
  5. Explain how you would turn a discovered weakness into a regression test rather than a one-time finding.

Guided study workflow