v1.1.2
-
Fixed wildcard record handling to support:
- Wildcard A records
- Wildcard CNAME records
- Proper domain name canonicalization with trailing dots
-
Implemented proper DNS response codes:
- NOERROR (0) when domain exists but requested record type doesn't
- NXDOMAIN (3) when domain doesn't exist
- Converting relay SERVFAIL (2) to NXDOMAIN (3)
-
Fixed record type handling:
- CNAME resolution
- MX records with additional A records for MX targets
- TXT record with proper string concatenation
- Proper handling of non-existent record types
-
Enhanced test coverage:
- Table-driven tests for different record types
- Testing both with and without relay configuration
- Edge cases for non-existent domains and record types
- Wildcard matching scenarios
- Response code verification
-
Added proper logging for debugging and monitoring
Full Changelog: v1.1.1...v1.1.2