From owner-freebsd-hackers Fri Apr 12 9:37:42 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from lab.simerson.net (lab.simerson.net [64.224.9.172]) by hub.freebsd.org (Postfix) with ESMTP id 0762F37B404 for ; Fri, 12 Apr 2002 09:37:38 -0700 (PDT) Received: (qmail 9610 invoked from network); 12 Apr 2002 16:37:37 -0000 Received: from unknown (HELO matt-g4.interland.net) (63.96.154.98) by lab.simerson.net with DES-CBC3-SHA encrypted SMTP; 12 Apr 2002 16:37:37 -0000 Date: Fri, 12 Apr 2002 12:37:24 -0400 Subject: Re: Is natd the right tool? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: freebsd-hackers@FreeBSD.ORG To: "Crist J. Clark" From: Matt Simerson In-Reply-To: <20020411230121.E39738@blossom.cjclark.org> Message-Id: <916461CE-4E33-11D6-8AF4-00306553B5E4@blockads.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.481) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG For starters, I don't use named. Furthermore, it wouldn't matter because this is for a cluster of load balanced name servers. There is a series of public interfaces (VIPs) that all of the boxes share. That series of Virtual addresses is on each real servers loopback interface. However, since it's on loopback I can't query it directly unless I'm on the box. So, I'm fishing for a clean way to test each VIP on each server remotely. Matt > On Friday, April 12, 2002, at 02:01 AM, Crist J. Clark wrote: > > Why don't you just have each named(8) listen on the different port? > See 'listen-on' in named.conf(5). > -- > Crist J. Clark | cjclark@alum.mit.edu > | cjclark@jhu.edu > http://people.freebsd.org/~cjc/ | cjc@freebsd.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > On Thu, Apr 11, 2002 at 09:24:24AM -0400, Matt Simerson wrote: >> Natd is a very cool tool for doing stuff like redirecting >> connections from an external network to an internal one but I'm have a >> slightly different problem. I have a single host with one public >> interface: >> >> host - fxp0 = 192.168.7.251 >> >> Also on this same host is a bunch more IP's on the loopback interface: >> >> host - lo0 = 127.0.0.1 >> 127.0.0.2 >> ..... >> >> >> On each of the loopback addresses I have a DNS server listening. This >> part works just fine: >> >> matt@matt: {101} % dig www.foo.com @127.0.0.2 >> >> ;; ANSWER SECTION: >> www.foo.com. 1D IN A 207.89.154.94 >> >> >> What I want to be able to do is send a dns query to the external >> interface of the machine on a non-standard port and have it redirect >> the query to a loopback address/port and return the query the >> appropriate query result to me. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message