From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D4CE81381F3 for ; Wed, 22 May 2013 16:36:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6709E081B; Wed, 22 May 2013 16:36:48 +0000 (UTC) Received: from we1-f189.wedos.net (we1-f189.wedos.net [46.28.105.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F282E075F for ; Wed, 22 May 2013 16:36:46 +0000 (UTC) Received: from ([94.113.166.116]) by we1-f189.wedos.net (WEDOS Mail Server mail1) with ASMTP (SSL) id HZG00044; Wed, 22 May 2013 18:36:44 +0200 Message-ID: <519CF41B.5040108@gmail.com> Date: Wed, 22 May 2013 18:36:43 +0200 From: Samuraiii User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130515 Thunderbird/17.0.5 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user Subject: [gentoo-user] VPN vs LAN address hostname resolution X-Enigmail-Version: 1.6a1pre OpenPGP: id=80C752EA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 2312eb25-c32e-4039-a6f9-250e460cb73f X-Archives-Hash: 7598c43aa6185351dba2497d0c264179 Hello, I am trying to get hostname address resolution on my LAN and VPN with one serious problem: I have two "networks" eg. 10.1.1.0 and 10.2.2.0 which are representing local address space for LAN (10.1.1.0/8) and VPN address space (10.2.2.0/= 8). Every host has its own address "suffix" (eg. host foo has LAN address 10.1.1.3 and vpn address 10.2.2.3). I would like to setup some sort resolution which would account for availability of host on LAN: If host foo is in same LAN and host bar the connection would be carried through LAN interface with LAN address and NOT (as avahi is trying to do) using VPN connection which is connecting through remote server and is therefore *a lot* slower than LAN connection. The LAN address is not available always but VPN is. So my question is there something which would do this almost same as avahi but would be capable of prioritizing interface/address? =20 Thank you for advice in advance S