Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Farcloser mDNS

mDNS based on third-party go libraries.

See "dev notes".

Dev

Makefile

make lint
make lint-fix
make tidy

Local documentation

go install golang.org/x/pkgsite/cmd/pkgsite@latest
pkgsite
open http://localhost:8080/go.farcloser.world/mdns

Dev notes

There are a handful of mDNS options out there:

Discovery

Hashicorp:

  • works kind of ok if there are records for the service name
  • for whatever reason, it randomly returns other records as well

Grancat:

  • a lot more complex (exponential backoff, timeout)
  • unfortunately, it does fail to bring existing services, and only surfaces new entries - reason unclear...

Announcer

Hashicorp:

  • segfault, or does not persist... - unusable

Goello:

  • extreme disaster when multiple interfaces are involved - unusable

Grandcat:

  • ok?

Forking

hashicorp uses log in annoying ways - it is also not doing a good job with ipv6

Forking it for the time being for discovery only, and keeping grandcat for announces seems like the best option.

About

No description or website provided.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages