Bug #174
closed
Added by Justin Maggard almost 11 years ago.
Updated over 10 years ago.
Description
"host" is provided by either bind9 or knot. Neither will build without modifications to the debian package. Since knot is smaller, I decided to work on that one.
knot has build-deps on unavailable packages ragel and liburcu, but both build without modification. However, knot needs some source code changes to build on Dyson. I have attached a patch to fix this.
Files
- Status changed from New to Resolved
Actually, host
utility and others are used for Debian-specific checks on local domain in avahi-daemon-check-dns.sh
. These checks also involve ifconfig
utility with linux-specific output format. So for Dyson is should be either ported or disdabled.
- Status changed from Resolved to In Progress
- % Done changed from 0 to 50
I think with ipadm
& Ko it would be easy to port :-)
More over knot's host has different output, and can't be used with avahi that easy:
Knot:
# host -t soa local.
Host local. type SOA error: NXDOMAIN
Bind:
# host -t soa local.
Host local. not found: 3(NXDOMAIN)
Avahi:
OUT=`LC_ALL=C host -t soa local. 2>&1`
if [ $? -eq 0 ] ; then
if echo "$OUT" | egrep -vq 'has no|not found'; then
return 0
fi
else
- Subject changed from avahi-daemon won't install due to dependency on "host" to Port avahi-daemon
- % Done changed from 50 to 70
- % Done changed from 70 to 80
I decided to remove this functionality (detecting unicast DNS servers serving local domain), and thus dropped dependency on host utility. In any case this functionality is designed to work with Debian ifup/ifdown scripts.
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF