Commit Graph

18 Commits

Author SHA1 Message Date
Milos Gajdos
9decd6b803
Multipacket Known-Answer Suppression: Ignore some answers
We are setting Truncated bit to false when mDNS has a lot of queries as
Hashicorp fork does not handle the case when Truncated bit is set.
We are happy to do this for the time being until we fix the server later
on.
2019-06-04 18:09:26 +01:00
Nikos Kitmeridis
a56f86575d Fixes new client or server creation failure when one of ipv4 or ipv6 is unavailable 2019-05-22 22:53:26 +03:00
Martin Garton
3124d713dc Clean up probe goroutine when shutting down 2016-07-06 09:19:32 +01:00
Asim
d37bec73c9 Fix the udp6 binding error 2016-05-01 19:45:12 +01:00
Asim
f4bad1caf6 Add the probing, announcements and shutdown. Add client Listen which can be used for a watcher 2016-05-01 18:55:42 +01:00
Asim
7f3f4b65ae Remove noise https://github.com/hashicorp/mdns/pull/34 2016-04-29 23:55:12 +01:00
Asim
b8712a0af4 Add https://github.com/hashicorp/mdns/pull/50 2016-04-29 23:34:13 +01:00
Armon Dadgar
eb98accb64 Revert "Send response to multicast address if requested"
This reverts commit c6d75aa8ab.

Conflicts:
	server.go
2015-02-12 18:22:57 -08:00
Armon Dadgar
a57b761c4d Style cleanup 2014-11-06 16:38:13 -08:00
Matthias Hochgatterer
c6d75aa8ab Send response to multicast address if requested 2014-11-05 12:32:13 +01:00
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