hashicorp / hashicorp/mdns

Seeing Remove event after some minutes

Open
#25 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.4k
Forks
225
Avg merge
15h 34m
Merged PRs (30d)
3

Description

I see a _Remove_ event after some minutes for the service I published with mDNS.
Here is the output of `dns-sd -B `

```
19:23:07.208 Add 2 4 local. ._tcp. ...
19:31:11.247 Rmv 1 4 local. ._tcp. ...
19:31:11.247 Add 2 4 local. ._tcp. ...
19:39:36.689 Rmv 1 4 local. ._tcp. ...
19:39:36.689 Add 2 4 local. ._tcp. ...
```

I think because other devices are actively looking for this service, the service appears again and I see the _Add_ event. I've done some research if we need to send some kind of keep-alive message, but could not find an answer.

When I publish a service using the command line tool `dns-sd` on OS X, I don't see any _Remove_ events for the service.

Anyone knows what's going on there?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.