test: sandboxed docker-compose stack for plugin smoke testing
Brings up a parallel CoreDNS instance on ports 11053/19153 with a single test.example.com zone. Useful for verifying the custom image builds and the rfc2136 plugin accepts/applies UPDATEs end-to-end before touching production zones. Already validated the msgAcceptFunc override fix end-to-end via nsupdate, with the auto plugin re-serving the new record within 5s. Note: zones/test.example.com.zone gets rewritten by the plugin during testing. If perms get hosed (docker writes as root), run sudo chown -R rpm:rpm test/zones/ to reclaim.
This commit is contained in:
parent
47c8ff42e9
commit
3dd99fa81a
4 changed files with 138 additions and 0 deletions
8
test/zones/test.example.com.zone
Normal file
8
test/zones/test.example.com.zone
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
; Auto-written by coredns-rfc2136 on 2026-05-21T17:59:46Z
|
||||
; Zone: test.example.com.
|
||||
$ORIGIN test.example.com.
|
||||
test.example.com. 3600 IN SOA ns.test.example.com. admin.test.example.com. 2026052103 300 120 604800 60
|
||||
test.example.com. 3600 IN NS ns.test.example.com.
|
||||
ns.test.example.com. 3600 IN A 127.0.0.1
|
||||
token.test.example.com. 60 IN TXT "validation-1"
|
||||
fresh.test.example.com. 60 IN TXT "msgAcceptFunc-fix-works"
|
||||
Loading…
Add table
Add a link
Reference in a new issue