Changelog

[1.1.0] - 2024-12-04

Added

New Modules

Features

Tests

Documentation

Changed

Code Quality

DNSQuery::Resolver

DNSQuery::Batch

DNSQuery::Interactive

bin/dnsq

Dependencies

Performance

Backward Compatibility

Fixed

Technical Details

Lines of Code

Test Coverage

Module Structure

lib/DNSQuery/
├── Banner.pm          (unchanged)
├── Batch.pm           (refactored)
├── Cache.pm           (new)
├── Constants.pm       (new)
├── Interactive.pm     (refactored)
├── Output.pm          (unchanged)
├── Resolver.pm        (refactored)
└── Validator.pm       (new)

Migration Guide

For Users

No changes required. All existing commands work as before:

bin/dnsq google.com
bin/dnsq --batch queries.txt
bin/dnsq --interactive

For Developers

To use new features:

# Use validation
use DNSQuery::Validator qw(:all);
my ($valid, $error) = validate_domain($domain);

# Use constants
use DNSQuery::Constants qw(:all);
if ($VALID_QUERY_TYPES{$type}) { ... }

# Enable cache persistence
my %config = (
    cache_persist => 1,
    cache_size => 200,
);

Known Issues

Future Enhancements

Potential improvements for future versions:

Contributors

License

MIT License (unchanged)

[1.0.0] - Initial Release

Features