Project

General

Profile

Actions

Bug #3539

closed

dnsmasq responds to domain 'local', breaks avahi

Added by Harry Coin about 10 years ago. Updated about 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
DNS Forwarder
Target version:
-
Start date:
03/20/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

Ubuntu / debian and related network manager issues this command at startup

host -t soa local.

in /usr/lib/avahi/avahi-daemon-check-dns.sh If it returns with no error and 'has no|not found' then avahi is allowed to load. Anything else, and an annoying pop-up warning every reboot appears and avahi is blocked from running.

All to determine whether there is a .local unicast dns.

Pfsense puts "127.0.0.1 localhost localhost.<domain>" in /etc/hosts. dnsmasq sees that, and returns a valid SOA, breaking avahi.
if in the 'advanced' area the line server=/local/4.4.4.4 , then it works.
Most routers don't reply with false SOAs when local is queried. PF shouldn't, either.

Actions

Also available in: Atom PDF