Skip to main content

mdns

mdns — ɳSelf documentation.

mDNS Plugin

Zero-config LAN service discovery via mDNS/Bonjour. Free: MIT licensed.

Install

nself plugin install mdns

What It Does

Advertises your ɳSelf services on the local network using mDNS (Bonjour/Zeroconf) so other devices discover them without manual DNS configuration. Other ɳSelf instances and compatible apps on the same network automatically find your services. Also stores discovered remote services in Postgres.

Configuration

Env VarDefaultDescription
MDNS_PORT3216mDNS service management port
MDNS_INSTANCE_NAMEnselfService instance name on LAN
MDNS_ADVERTISE_INTERVAL60Re-announce interval in seconds

Ports

PortPurpose
3216mDNS service REST API
5353/UDPmDNS protocol (standard)

Database Tables

2 tables added to your Postgres database:

  • np_mdns_services: advertised service records
  • np_mdns_discovered: discovered remote services

Nginx Routes

None, mDNS is a LAN protocol, not exposed via nginx.