Commit Graph

8 Commits

Author SHA1 Message Date
Red Daly
68622dea49 Make mDNS server response more compatible with RFC 6762 spec.
- 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
2014-10-17 15:42:54 -07:00
Armon Dadgar
3e798410dc Merge pull request #11 from richtr/no_ipbind_warning_on_success
Add IP binding suppression if at least one UDP listener is registered
2014-09-13 15:35:21 -07:00
richtr
095233e3dc Add IP binding suppression if at least one listener is registered 2014-09-11 13:31:19 +02:00
richtr
4719107d49 Handle multiple mDNS questions as allowed in RFC6762 2014-09-11 13:26:27 +02:00
Armon Dadgar
dab97f2090 Support providing a binding interface 2014-02-24 11:41:03 -08:00
Armon Dadgar
17be83de46 Remove the extremely verbose log messages 2014-01-29 17:31:54 -08:00
Armon Dadgar
de767a076b Fixing bugs, adding a lookup test 2014-01-29 15:58:17 -08:00
Armon Dadgar
f02b38e239 Adding mdns server 2014-01-29 14:36:46 -08:00