Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uhbsu-0005jj-8F for pgsql-bugs@arkaria.postgresql.org; Wed, 29 May 2013 08:37:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Uhbst-0006Lu-PG for pgsql-bugs@arkaria.postgresql.org; Wed, 29 May 2013 08:37:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Uhbss-0006Lp-MD for pgsql-bugs@postgresql.org; Wed, 29 May 2013 08:37:27 +0000 Received: from nm37-vm6.bullet.mail.ne1.yahoo.com ([98.138.229.134]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uhbsn-0008WH-W9 for pgsql-bugs@postgresql.org; Wed, 29 May 2013 08:37:26 +0000 Received: from [98.138.90.51] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 29 May 2013 08:37:19 -0000 Received: from [98.138.89.167] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 29 May 2013 08:37:19 -0000 Received: from [127.0.0.1] by omp1023.mail.ne1.yahoo.com with NNFMP; 29 May 2013 08:37:19 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 698735.33700.bm@omp1023.mail.ne1.yahoo.com Received: (qmail 577 invoked by uid 60001); 29 May 2013 08:37:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369816639; bh=Cpr5uC67Y6FPdbMD2b3YpISYNVfaKbxG8s2rjjAmhzk=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=eClHhQxhFxinzpvq9s8rkvquyXwBu0JaQVzsXQxcEifPyQjN39tWo8J/eOxKbB0xgOTi06nRTx+aNLI4PxajgJppLsgFXmgYr8FRQy8viV8dT20ulUD68P7pdpI9rzJLsWIcWaNJzB/TGDCrqyhhWosjr7BuUutJCpP3WHzEobU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=wpuC9Q+G9gwizuKji9ilzj6fuKfb7U5OQ7iAMEZdMtv3pmA4jYHXjPDLW3CFd7YNUOZLFpbv4xX3a+4ilB60YdeWTOqqmc1H4iXgKcJUlkMxKJ6Uk6/B8KtIXkFhuQGlzkq6SdBJ6c8WUPjeHi6cDVUemkpx0WuUEaHa5SraESY=; X-YMail-OSG: 183oDJIVM1mBTszTCszsUcAMmQ3ILnO1.HBFbgN2Nb6_6AO n.ynRjsvAuPrpjRHF6ZqOwSEFi8cisb0jzsiK7hdLmo1Qjc1uodNyu2ns6xc XDj4woaxGU8ebTXZNW03H0._hoJvDTBNgFTIUusAOH8v6uCgAIfjYc8Y.ehZ o9mRG7l9SXcA8kqVXieV45rQhKl1ryw3cDvgMco.mM3ezIbEfME8Jms.GKh_ 3nEohmWf.BidNML5Hcska5gcBOGikk8Pf5a15ukl2DM_v8bAVpMkinMEL6qj iaRpiexuSRC3kKTD3TLFs3Py7YrkqlDtO7awAXB4_1OC.PyFkBYSqtGv0xs0 g47kzITOwKsee91a6OvA6iw4lXbbBgHGb9MUPDzliZBtsUqaESyeWPjfpNdO 3r32KOqX2jwiC3qZ7e3rY0Vv9fMcpiBMu4dfYvu.tbiJrNdAwJRmSdjJBUoW 80ReASefw1QBWI15BM6USfFgcWy4Bg3MTeCrqA2Ef8oooabTSsU0fzzFdQ8q QJ_rwaqSdpJg0ZXi7EmbrS36zH7DJ1gmieRgbcU0ROVdT Received: from [81.196.124.153] by web120906.mail.ne1.yahoo.com via HTTP; Wed, 29 May 2013 01:37:19 PDT X-Rocket-MIMEInfo: 002.001, SGkgYW5kIHRoYW5rIHlvdSBmb3IgcmVwbHlpbmcuCgpJIGhhdmUgdHJpZWQgdXNpbmcgdGhlIEZRRE4gd2l0aG91dCBzdWNjZXNzLgoKVGhlIHJldmVyc2UgRE5TIHNlcnZlciB3YXMgYWxyZWFkeSBzZXR1cC4KQWZ0ZXIgaW5zdGFsbGluZ8KgwqBicmlkZ2UtdXRpbHMgaW4gb3JkZXIgdG8gcnVuIHRoZSBob3N0IGNvbW1hbmQgYW5kIEkgZGlzY292ZXJlZCB0aGUgcmV2ZXJzZSBkbnMgaGFkIGNvbmZpZyBwcm9ibGVtcwooc29tZXRoaW5nIHlvdSBzdWdnZXN0ZWQpCgokaG9zdCBsYXB0b3AKCmxhcHRvcC5iaXIBMAEBAQE- X-Mailer: YahooMailWebService/0.8.144.546 References: <51A4AB1F.3010501@gmx.net> Message-ID: <1369816639.184.YahooMailNeo@web120906.mail.ne1.yahoo.com> Date: Wed, 29 May 2013 01:37:19 -0700 (PDT) From: Tudor Barascu Reply-To: Tudor Barascu Subject: Re: BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should To: Peter Eisentraut Cc: "pgsql-bugs@postgresql.org" In-Reply-To: <51A4AB1F.3010501@gmx.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1260837014-1710164124-1369816639=:184" X-Pg-Spam-Score: -1.7 (-) 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 ---1260837014-1710164124-1369816639=:184 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi and thank you for replying.=0A=0AI have tried using the FQDN without suc= cess.=0A=0AThe reverse DNS server was already setup.=0AAfter installing=A0= =A0bridge-utils in order to run the host command and I discovered the rever= se dns had config problems=0A(something you suggested)=0A=0A$host laptop=0A= =0Alaptop.biroul.gis has address 192.168.111.6=0A=0A$host 192.168.111.6=0AH= ost 6.111.168.192.in-addr.arpa. not found: 3(NXDOMAIN)=0A=0AI have fixed th= e reverse DNS configuration and now all is alright.=0A=0AThank you,=0ATudor= =A0=0A=0A=0A________________________________=0A From: Peter Eisentraut =0ASent: Tuesday, May 28, 2013 4:03 PM=0ASubject: Re: [BUGS] B= UG #8172: entering the hostname in the address column in pg_hba.conf doesn'= t work as it should=0A =0A=0AOn 5/21/13 3:41 AM, tudorbarascu@yahoo.com wro= te:=0A> In pg_hba.conf I have the following setup:=0A> host=A0 =A0 all=A0 = =A0 all=A0 =A0 laptop=A0 =A0 =A0 =A0 =A0 md5=0A> =0A> Although the hostna= me gets resolved by the system (LAN DNS server) I still=0A> get the no pg_h= ba.conf entry error.=0A=0ACheck that the following works:=0A=0A$ host lapto= p=0A$ host x.x.x.x=0A=0Awhere x.x.x.x is the IP address that the first comm= and printed.=A0 Those=0Aneed to match.=0A=0AI suspect that you need to writ= e a fully-qualified domain name in=0Apg_hba.conf, and you need to set up th= e reverse DNS. ---1260837014-1710164124-1369816639=:184 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
H= i and thank you for replying.

I have tried = using the FQDN without success.
The reverse DNS server was already setup.
After installing  bridge-u= tils in order to run the host command and I discovered the reverse dns had = config problems
(something you suggested)

$host l= aptop
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.

<= div>Thank you,
Tudor 


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

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

Ch= eck 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.  Thos= e
need to match.

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



=20
---1260837014-1710164124-1369816639=:184--