Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 1997 15:03:14 -0800 (PST)
From:      Renaud Waldura <renaud@softway.com>
To:        freebsd-isp@freebsd.org
Subject:   DNS sortlist
Message-ID:  <199702242303.PAA05528@softway95.softway.com>

next in thread | raw e-mail | index | archive | help

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/  --
                                                                        --



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702242303.PAA05528>