bos55-nix-config-cicd/.agent/rules/dns-management.md
Tibo De Peuter 3648b4d535
Some checks failed
Build / build (Testing) (pull_request) Has been cancelled
Build / build (Development) (pull_request) Has been cancelled
Build / Determining hosts to build (pull_request) Failing after 10m10s
Build / Determining hosts to build (push) Failing after 11m10s
Build / build (Testing) (push) Failing after 13m36s
Build / build (Development) (push) Failing after 15m18s
meta: add AI agent rules and skills
Create a modular, context-aware style guide for AI code assistants.

- Add nixos-architecture skill for .nix file generation and networking patterns
- Add dns-management rule to enforce Bind9 SOA serial increments
- Add cicd-networking rule for direct-IP runner authentication
- Add git-workflow rule to enforce conventional and atomic commits
2026-03-17 22:52:15 +01:00

14 lines
684 B
Markdown

---
name: dns-management
description: Hard constraints for modifying Bind9 DNS zone files.
globs: ["db.", ".zone"]
---
# Bos55 DNS Management Constraints
When modifying or generating Bind9 zone files, you MUST strictly adhere to the following rules:
1. **Serial Increment (CRITICAL)**
- Every single time you modify a Bind9 zone file (e.g., `db.depeuter.dev`), you MUST increment the Serial number in the SOA record. Failure to do so will cause DNS propagation to fail.
2. **Domain Name Specificity**
- Prefer a single, well-defined explicit domain (e.g., `nix-cache.depeuter.dev`) instead of creating multiple aliases or using magic values. Keep records clean and explicit.