Commit Graph

5 Commits

Author SHA1 Message Date
100cad5acd fix: update test files to work with the new features 2025-04-25 22:16:51 +02:00
81dcd9c7cc feat: secrets of clients now need to be hashed, added command to create hash 2025-04-25 21:35:52 +02:00
a77e96be6e fix: initialize dns provider just once at startup 2025-04-25 21:30:28 +02:00
4819f92569 feat: add posibility to use token file in hetzner config 2025-04-25 21:24:59 +02:00
adae58b7bc feat: Implement configuration management and DNS provider integration
- Added configuration management using Viper in internal/config/config.go
- Implemented ClientConfig, ServerConfig, TLSConfig, HetznerConfig, UpstreamConfig, and main Config struct.
- Created LoadConfig function to read and validate configuration files.
- Developed Hetzner DNS provider in internal/provider/hetzner/hetzner.go with methods for updating DNS records.
- Added comprehensive unit tests for configuration loading and Hetzner provider functionality.
- Established HTTP server with metrics and update endpoint in internal/server/server.go.
- Implemented request handling, authorization, and error management in the server.
- Created integration tests for the Hetzner provider API interactions.
- Removed legacy dynamic DNS integration tests in favor of the new API-based approach.
2025-04-21 00:45:38 +02:00