Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions netengine/handlers/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ def _generate_root_zone_file(
"""Generate root zone file with NS records.

Delegates to platform zone and TLD servers via NS records.
Includes stub records for L1 services (auth.internal, ca.internal, etc.)
"""
serial = self._generate_serial(root_zone.get("serial_policy", "timestamp"))

Expand All @@ -363,6 +364,12 @@ def _generate_root_zone_file(
f"platform.internal. NS {platform_zone['ns_server']}.",
f"platform.internal. A {platform_zone['listen_ip']}",
"",
"; L1 service records (auth.internal, etc. — may be delegated to platform zone)",
"; These can be updated by M4+ phases",
f"auth.internal. A {platform_zone['listen_ip']}",
f"ca.internal. A {platform_zone['listen_ip']}",
f"registry.internal. A {platform_zone['listen_ip']}",
"",
]

# TLD delegations
Expand Down
Loading
Loading