pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Paul Morie <pmorie@redhat.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9003: Hard-coding to localhost in postmaster
Date: Wed, 29 Jan 2014 20:35:01 -0500
Message-ID: <20140130013501.GF2851@momjian.us> (raw)
In-Reply-To: <228996479.15618550.1391014957256.JavaMail.root@redhat.com>
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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  <bruce@momjian.us>        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



view thread (16+ messages)

Message-ID: <20140130013501.GF2851@momjian.us>
Permalink:  ../20140130013501.GF2851@momjian.us/
Also on:    postgresql.org/message-id/20140130013501.GF2851@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bruce@momjian.us, pmorie@redhat.com, tgl@sss.pgh.pa.us, andres@2ndquadrant.com
  Subject: Re: BUG #9003: Hard-coding to localhost in postmaster
  In-Reply-To: <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> <20140130013501.GF2851@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox