This project follows Semantic Versioning.
- Fixed
- Fix calls to
:socket.setopt/3
to support OTP 22 and OTP 23. Thanks to Peter Madsen for finding this and providing a fix.
- Fix calls to
- Fixed
- Fix interface monitor crash when a network interface gets removed.
This release is a major update to MdnsLite to support making queries in addition to responding to queries. The runtime API is not backwards compatible. If you're only using the application environment to configure MdnsLite, you should be ok.
-
New features
- Make mDNS requests
- Add a DNS bridge for Erlang's DNS resolver. This enables Erlang
distribution and
:gen_tcp
users to be passed.local
hostnames. See docs for how to configure - mDNS record caching
- mDNS record inspection - both for ones MdnsLite advertises and for ones in the caches
- AAAA record support - Proper IPv6 support is still not available
-
Bug fixes
- MdnsLite now uses
:socket
to send and receive mDNS messages. This fixes several issues where multicast packets were being mixed up between network interfaces.
- MdnsLite now uses
-
Breaking change
- Change optional dependency on VintageNet to a mandatory one. Probably all
:mdns_lite
users were already using VintageNet and since Mix releases doesn't support optional dependencies yet, some users got errors when the release misordered them. This avoids the problem.
- Change optional dependency on VintageNet to a mandatory one. Probably all
-
Improvements
- Removed the
:dns
package dependency. There as an Erlang crypto API call in a dependency of:dns
that was removed in OTP 24. This change makes it possible to use:mdns_lite
on OTP 24 without worrying about a missing crypto API call.
- Removed the
- Improvements
- Exclude
"wwan0"
by default. These interfaces are cellular links like ppp and it's not appropriate to respond to mDNS on them either.
- Exclude
- Bug fixes
- Advertise services based on service names & not hostname. Thanks to Matt Trudel for this fix.
- Bug fixes
- Reuse addresses and ports when binding to the multicast socket to coexist with other mDNS software. Thanks to Eduardo Cunha and Matt Myers for the updates.
- New features
- Support custom TXT record contents. See the
:txt_payload
. Thanks to Eduardo Cunha for adding this.
- Support custom TXT record contents. See the
- Bug fixes
- Update default so that ppp interfaces are ignored. This prevents surprises of having a responder run on a cellular link.
- Bug fixes
- Fix crash when handling undecodable mDNS messages
- Handle nil from VintageNet reports
- Allow mdns host to be change at runtime
- New network monitor: VintageNetMonitor
- Allow services to be added and removed at runtime.
- Correct typos and white space
- Comment out logger messages
- Remove un-helpful Logger.debug statements - Issue #49
- Put this file into the proper order.
- Correct bad tag in README.md and correct grammar.
- Correct documentation of the MdnsLite module
- The value of host in the configuration file can have two values. The second can serve as an alias for the first.
- Updated documentation and comments.
- Created a new test.
- Remove a superfluous map from the config.
- Update README to reflect changes in previous version.
- Much better alignment with RFC 6763 - DNS Service-based discovery.
- Affects handling of SRV and PTR queries.
- Initial release