Skip to content

v1.1.2

Compare
Choose a tag to compare
@mguptahub mguptahub released this 28 Oct 06:01
· 14 commits to main since this release
  1. Fixed wildcard record handling to support:

    • Wildcard A records
    • Wildcard CNAME records
    • Proper domain name canonicalization with trailing dots
  2. 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)
  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
  4. 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
  5. Added proper logging for debugging and monitoring

Full Changelog: v1.1.1...v1.1.2