- Add request logging middleware to main.go
- Add debug handler with health, config, stats, and test-dns endpoints
- Add detailed logging to DynDNS handler
- Add logging to Technitium DNS client
- Add database Ping() and GetStats() methods
- New endpoints:
- /health - detailed health status with database and DNS checks
- /debug/config - sanitized configuration
- /debug/stats - database statistics
- /debug/test-dns - live DNS test endpoint
This will help diagnose production issues with DNS updates.
The pattern 'server' was incorrectly ignoring cmd/server/ directory.
Changed to '/server' to only match root-level compiled binary.
Also committing cmd/server/main.go which was previously ignored.