From owner-freebsd-questions Wed Jul 10 20:30:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0BA337B400 for ; Wed, 10 Jul 2002 20:30:34 -0700 (PDT) Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2522643E09 for ; Wed, 10 Jul 2002 20:30:34 -0700 (PDT) (envelope-from nick@rogness.net) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id g6B40rw04441; Wed, 10 Jul 2002 23:00:53 -0500 (CDT) (envelope-from nick@rogness.net) Date: Wed, 10 Jul 2002 23:00:53 -0500 (CDT) From: Nick Rogness X-Sender: nick@cody.jharris.com To: Carolyn Longfoot Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NAT/DNS/WEB In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 10 Jul 2002, Carolyn Longfoot wrote: > It's been a while since I last looked at this and I just discovered > that it's possible to put a fully qualified system name into > natd.conf, as in redirect_port tcp www.mydomain.com:80 80 > > However, with www just being a CNAME, when the entry is changed in > DNS, natd does not notice as it does not seem to dynamically resolve > the IP address, only at startup. > > This is a minor but still annoying issue, so hence my question whether > there is a way to not have to restart natd when the www CNAME record > changes. Unfortunetly, no. However, if you know all of the possible CNAMEs you can add them all as redirect statements (kinda blows the whole idea but it will work). -redirect_port cname1.www:80 80 -redirect_port cname2.www:80 80 -redirect_port cname3.www:80 80 ... -redirect_port cnameX.www:80 80 Nick Rogness - Don't mind me...I'm just sniffing your packets To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message