Skip to content

Releases: mguptahub/nanodns

v1.2.1

01 Nov 05:32
37adef9
Compare
Choose a tag to compare

Updates

  • Install script process made simpler
  • Readme Updated with latest commands

Fixes

  • CLI command / options fixes

--

Full Changelog: v1.2.0...v1.2.1

v1.2.0

31 Oct 03:53
4814984
Compare
Choose a tag to compare

New features

  • Added the cli command/options
  • Start NanoDNS Server as daemon on linux terminal using nanodns start
  • Check the daemon logs using nanodns logs

Updates

  • Updated Readme with CLI usage

Full Changelog: v1.1.3...v1.2.0

v1.1.3

28 Oct 17:36
1a6e227
Compare
Choose a tag to compare

New Features

  • Support for .env files in environment variable configuration.
  • Enhanced Docker usage with volume mapping for .env files.
  • Theme toggle functionality for light and dark modes.
  • New sample configuration for DNS settings in env-sample.md.

Bug Fixes

  • Improved accessibility and user experience in the navigation bar and hero section.

Documentation

  • Enhanced clarity and usability in the README.md and docker.md files.

Full Changelog: v1.1.2...v1.1.3

v1.1.2

28 Oct 06:01
Compare
Choose a tag to compare
  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

v1.1.1

28 Oct 04:45
Compare
Choose a tag to compare

Fixes

  • DNS Relay Validation
  • Default port set to 10053

v1.1.0

27 Oct 02:11
268a902
Compare
Choose a tag to compare

Release v1.1.0

New Features

  • Relay DNS Support: Forward unmatched queries to upstream DNS servers
    • Configure via DNS_RELAY_SERVERS environment variable
    • Support multiple upstream servers with failover
    • Automatic server validation and error handling
    • 5-second timeout per server

Improvements

  • Enhanced DNS resolution strategy:

    1. Check local records first
    2. Forward to relay servers if no local match found
    3. Try multiple relay servers in sequence
  • Better environment variable handling

    • Improved validation of relay server addresses
    • Better error messages and logging
    • Support for comma-separated server lists

Configuration

New Environment Variables

# Single upstream server
DNS_RELAY_SERVERS=8.8.8.8

# Multiple servers with failover
DNS_RELAY_SERVERS=8.8.8.8,1.1.1.1

Documentation

  • Updated Kubernetes deployment guide
  • Added relay DNS configuration examples
  • Enhanced troubleshooting guide
  • New testing examples for relay functionality

Bug Fixes

  • Fixed environment variable parsing
  • Improved error handling in DNS resolution
  • Better validation of server addresses

Examples

Docker Run

docker run -d \
  --name nanodns \
  -p 5353:5353/udp \
  -e DNS_PORT=5353 \
  -e DNS_RELAY_SERVERS=8.8.8.8,1.1.1.1 \
  -e "A_REC1=app.local|192.168.1.10" \
  ghcr.io/mguptahub/nanodns:latest

Docker Compose

services:
  dns:
    image: ghcr.io/mguptahub/nanodns:latest
    environment:
      - DNS_PORT=5353
      - DNS_RELAY_SERVERS=8.8.8.8,1.1.1.1
      - A_REC1=app.local|192.168.1.10

Testing

# Test local records
dig @localhost -p 5353 app.local

# Test relay resolution
dig @localhost -p 5353 google.com

Contributors

@mguptahub and the NanoDNS community

Upgrading

No breaking changes from v1.0.0. Simply update to the new image version:

docker pull ghcr.io/mguptahub/nanodns:v1.1.0

v1.0.1

26 Oct 06:59
Compare
Choose a tag to compare

What's Changed

New Contributors

v1.0.0

26 Oct 05:17
Compare
Choose a tag to compare

First Release of Nano DNS