Upstream mDNS lookup server for devices that don't have mDNS.
A Python lDNS server that uses avahi-resolve to lookup .local IP addresses. Point unbound
or dnsmasq to the server to get them to resolve .local hosts without having to have mDNS on the requesting machine.
- mDNS is awesome.
- Not all devices or OSs can use mDNS.
unboundanddnsmasqdon't allow using 224.0.0.251@5353 as upstream servers for the.localdomain. https://superuser.com/questions/821099/configuring-unbound-to-resolve-resolve-on-mdns
- Clone repository.
make- Point dnsmasq at 127.0.0.1:5053 for the local domain:
server=/local/127.0.0.1#5053
setup.py- Daemon
systemd- openmdns
make test- Useshostname.localmake test HOST=apt-cacher-ng.local
Tested on Raspberry Pi 3 running Raspbian.
root@pihole:~# lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch
Based on dnsserver.py