On Thu, 01.03.12 15:16, Tomasz Torcz (tomek(a)pipebreaker.pl) wrote:
On Thu, Mar 01, 2012 at 03:11:53PM +0100, Lennart Poettering wrote:
> > Also you should really define 'You' here. Because the issue is that
mDNS
> > in Fedora is inserted by default in the hosts database and IIRC before
> > DNS, so it get a chance to always reply before a DNS query is made. This
> > of course makes sense for its uses, why ask the DNS if you know this is
> > a .local name that the DNS should not know about ?
>
> The NSS module is authoritative for .local and .local only. It will not
> respond for host lookups outside this domains, and hence cannot be used
> to muck around with anything outside the mDNS domain .local. You cannot
> override normal unicast host names via multicast.
Can normal resolver settings be overriden by mDNS and publish-dns-servers= ?
Only if avahi-dnsconfd is installed and enabled, but nobody does that,
and it is not the default anywhere. In fact I am tempted to simply
remove that feature entirely from Avahi, since it's pretty useless and
DHCP is a much better option for this.
Lennart
--
Lennart Poettering - Red Hat, Inc.