Gravatar

nss-mdns and multihoming

Hello, gents,

 

I would like to configure nss-mdns to prefer certain network interfaces for multicast DNS resolution, because I have a multihomed / always-on VPN system and sometimes nss-mdns returns address of the VPN when I am on the home network, causing all sorts of problems. What I would like is for nss-mdns to prefer resolving a host name X.local discovered on the local interface (wlan0) whenever a X.local machine is found on avahi's cache, and, if not, then return the IP address for the host name X.local on the VPN interface (tap0).

 

How to tell nss-mdns to do this?


Gmane