- dns.Msg construction is now explicit, with comments pointing to the RFC about
the values of each field.
- dns.Msg responses no longer contain a Question section, which is not allowed
according to the spec.
- handleQuestion's interface returns both unicast and multicast answer records.
(Note: These are not yet treated differently by the sendResponse method.)
- removed unused error return value of handleQuestion
- Change API for constructing an MDNSService: use NewMDNSService func instead of
creating an MDNSService struct and calling its Init method.
- Allow full specification of the host name and IP addresses of an MDNSService
instead of relying on the net package to infer them from the OS.
- Remove deprecated Addr member of MDNSService.
- Modify tests to comply with new API.
- Add WantUnicastResponse to allow sending mDNS queries that desire unicast
responses (see section 5.4 in RFC6762).
- Listen for UDP packets sent to the mDNS multicast addresses ("ipv4:
224.0.0.251", ipv6: "ff02::fb")
- Fix bug on line 177 of client.go: Ignored error during sendQuery.
- Add TODO comments regarding unimplemented features of mDNS protocol.
- Add error logging statement when DNS packet parsing failed.