On Fri, 2006-07-28 at 14:30 +0200, Lennart Poettering wrote:
> On Wed, 12.07.06 09:45, Sam Morris ([EMAIL PROTECTED]) wrote:
> 
> > I altered the log message printed by mod_dnssd:
> > 
> > [Wed Jul 12 09:03:57 2006] [error] avahi_entry_group_add_service(name="Sam 
> > Morris on xerces", host="xerces") failed: Invalid host name
> > [Wed Jul 12 09:03:57 2006] [error] 
> > avahi_entry_group_add_service(name="xerces", host="xerces") failed: Invalid 
> > host name
> > 
> > It appears mod_dnssd specifies 'xerces' as the hostname, which the
> > avahi_is_valid_fqdn function rejects because it only contains one
> > component.
> 
> But why did mod_dnssd use that name in the first place? Have you
> configured it manually?

Argh, you're right. Setting ServerName to 'xerces.local' or leaving it
empty makes everything work.

I put in 'ServerName xerces' to avoid the annoying 'Could not determine
the server's fully qualified domain name, using 127.0.0.1 for
ServerName' warning every time apache was started/stopped.

Perhaps mod_dnssd's documentation should mention that the hostnames
apache uses (and hence supplies to mod_dnssd) must be 'valid'--i.e.
resolvable via the DNS or via mDNS.

> Lennart

-- 
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to