Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W8gX7-0004AY-54 for pgsql-bugs@arkaria.postgresql.org; Thu, 30 Jan 2014 01:35:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W8gX6-0005KM-Hh for pgsql-bugs@arkaria.postgresql.org; Thu, 30 Jan 2014 01:35:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W8gX5-0005JW-Ii for pgsql-bugs@postgresql.org; Thu, 30 Jan 2014 01:35:07 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W8gX2-0002cK-Ou for pgsql-bugs@postgresql.org; Thu, 30 Jan 2014 01:35:07 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1W8gWz-0002U4-HH; Wed, 29 Jan 2014 20:35:01 -0500 Date: Wed, 29 Jan 2014 20:35:01 -0500 From: Bruce Momjian To: Paul Morie Cc: Tom Lane , Andres Freund , pgsql-bugs@postgresql.org Subject: Re: BUG #9003: Hard-coding to localhost in postmaster Message-ID: <20140130013501.GF2851@momjian.us> References: <20140127183125.26701.88068@wrigleys.postgresql.org> <20140128001221.GC25670@awork2.anarazel.de> <1664800968.14386753.1390923709454.JavaMail.root@redhat.com> <20140128155419.GB18333@awork2.anarazel.de> <23411.1390925754@sss.pgh.pa.us> <20140128161900.GF20898@momjian.us> <1241903739.14805210.1390938412164.JavaMail.root@redhat.com> <20140128195146.GP20898@momjian.us> <228996479.15618550.1391014957256.JavaMail.root@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <228996479.15618550.1391014957256.JavaMail.root@redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Wed, Jan 29, 2014 at 12:02:37PM -0500, Paul Morie wrote: > > Based on your setup, why would you not DNS-map "localhost" to whatever > > 127.x.x.x address you gave that gear? We specifically bind to the > > "localhost" string and not 127.0.0.1. > > The gears do not have their own DNS. Gear processes run in regular unix accounts > and not in VMs, linux containers, etc. I am guessing you can't use a Bind configuration file to return a specific "localhost" IP address for specific gear because they don't have unique IP source addresses, e.g. you can't filter the source requests. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs