From owner-freebsd-isp Mon Feb 24 15:06:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA26543 for isp-outgoing; Mon, 24 Feb 1997 15:06:49 -0800 (PST) Received: from softway95.softway.com (softway95.softway.com [206.80.1.38]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA26537 for ; Mon, 24 Feb 1997 15:06:47 -0800 (PST) Received: (from renaud@localhost) by softway95.softway.com (8.8.5/8.6.12) id PAA05528 for freebsd-isp@freebsd.org; Mon, 24 Feb 1997 15:03:15 -0800 (PST) From: Renaud Waldura Message-Id: <199702242303.PAA05528@softway95.softway.com> Subject: DNS sortlist To: freebsd-isp@freebsd.org Date: Mon, 24 Feb 1997 15:03:14 -0800 (PST) Reply-To: Renaud Waldura Organization: Softway, Inc. (San Francisco) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi to all, I have this machine here with two network interfaces, hence two IPs, both registered in the DNS. machine A 1.1.1.1 A 2.2.2.2 When I'm on network 1, my DNS queries for "machine" return as first address 1.1.1.1; when I'm on network 2, my DNS queries "machine" return as first address 2.2.2.2. Groovy, this is exactly what I want. Now, I'm trying to _always_ get address 2.2.2.2 when I'm on network 3, or even a totally different network. I want that queries from non-local networks always get returned a specific address first. How can I do that? The current behavior seems to be round-robbin, ie. first 1.1.1.1 then 2.2.2.2 then 1.1.1.1 then 2.2.2.2 etc. I played with named's "sortlist" feature a little bit, but without any interesting results. I'm using named 4.9.3-BETA17 (ok, ok, I'll upgrade--soon). Thanks a lot, -- -- Renaud Waldura -- -- Softway International, Inc -- -- rw@softway.com -- -- 185 Berry Street, Suite 5514 -- -- San Francisco, CA 94107 -- -- USA -- -- Tel (415) 896-0708 -- Fax (415) 896-0709 -- http://www.softway.com/ -- --