[Psi-Devel] Psi can't find the XMPP server via multicast and?doesn't fallback
Justin Karneges
justin-psi2 at affinix.com
Sun Dec 13 17:50:13 PST 2009
On Sunday 13 December 2009 11:49:57 Jan Niehusmann wrote:
> On Sat, Dec 12, 2009 at 09:53:00AM -0800, Justin Karneges wrote:
> > Psi doesn't use any system library for DNS at this time, and it does
> > the "*.local" == mdns logic on its own. But, Avahi is rigged into modern
> > Debian distros I believe, so things like 'ping' will act similarly. You
> > can edit /etc/nsswitch.conf to change the behavior of the system calls,
> > but be aware that this has no effect on Psi.
>
> Thanks for the explanation.
> Is there a way to configure psi to not use mdns, or does it require a
> patch / recompile?
There isn't a way to disable it without patching.
Maybe we should look at a solution for 0.15 that doesn't require
configuration. One approach might be to resolve both ways at the same time
and take the first that succeeds. This should only give you a problem if the
hostname exists both on the local network and in normal DNS at the same time.
Unless anyone thinks that's a ridiculous idea?
-Justin
More information about the Psi-Devel
mailing list