pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tudor Barascu <tudorbarascu@yahoo.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should
Date: Wed, 29 May 2013 01:37:19 -0700 (PDT)
Message-ID: <1369816639.184.YahooMailNeo@web120906.mail.ne1.yahoo.com> (raw)
In-Reply-To: <51A4AB1F.3010501@gmx.net>
References: <E1UehCP-0007N2-KX@wrigleys.postgresql.org>
	<51A4AB1F.3010501@gmx.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi and thank you for replying.

I have tried using the FQDN without success.

The reverse DNS server was already setup.
After installing  bridge-utils in order to run the host command and I discovered the reverse dns had config problems
(something you suggested)

$host laptop

laptop.biroul.gis has address 192.168.111.6

$host 192.168.111.6
Host 6.111.168.192.in-addr.arpa. not found: 3(NXDOMAIN)

I have fixed the reverse DNS configuration and now all is alright.

Thank you,
Tudor 


________________________________
 From: Peter Eisentraut <peter_e@gmx.net>
Sent: Tuesday, May 28, 2013 4:03 PM
Subject: Re: [BUGS] BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should
 

On 5/21/13 3:41 AM, tudorbarascu@yahoo.com wrote:
> In pg_hba.conf I have the following setup:
> host    all     all     laptop          md5
> 
> Although the hostname gets resolved by the system (LAN DNS server) I still
> get the no pg_hba.conf entry error.

Check that the following works:

$ host laptop
$ host x.x.x.x

where x.x.x.x is the IP address that the first command printed.  Those
need to match.

I suspect that you need to write a fully-qualified domain name in
pg_hba.conf, and you need to set up the reverse DNS.

view thread (3+ messages)

Message-ID: <1369816639.184.YahooMailNeo@web120906.mail.ne1.yahoo.com>
Permalink:  ../1369816639.184.YahooMailNeo@web120906.mail.ne1.yahoo.com/
Also on:    postgresql.org/message-id/1369816639.184.YahooMailNeo@web120906.mail.ne1.yahoo.com

 · 

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: tudorbarascu@yahoo.com, peter_e@gmx.net
  Subject: Re: BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should
  In-Reply-To: <1369816639.184.YahooMailNeo@web120906.mail.ne1.yahoo.com>
  References: <E1UehCP-0007N2-KX@wrigleys.postgresql.org> <51A4AB1F.3010501@gmx.net> <1369816639.184.YahooMailNeo@web120906.mail.ne1.yahoo.com>

* 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