Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UehCb-0003va-Kr for pgsql-bugs@arkaria.postgresql.org; Tue, 21 May 2013 07:41:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UehCb-0002ia-4m for pgsql-bugs@arkaria.postgresql.org; Tue, 21 May 2013 07:41:45 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UehCa-0002iV-Gu for pgsql-bugs@postgresql.org; Tue, 21 May 2013 07:41:44 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UehCU-0002az-Vg for pgsql-bugs@postgresql.org; Tue, 21 May 2013 07:41:43 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UehCU-0005sE-Qm for pgsql-bugs@postgresql.org; Tue, 21 May 2013 07:41:38 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1UehCP-0007N2-KX for pgsql-bugs@postgresql.org; Tue, 21 May 2013 07:41:33 +0000 Date: Tue, 21 May 2013 07:41:33 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #8172: entering the hostname in the address column in pg_hba.conf doesn't work as it should To: pgsql-bugs@postgresql.org From: tudorbarascu@yahoo.com X-Pg-Spam-Score: 2.3 (++) 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 The following bug has been logged on the website: Bug reference: 8172 Logged by: Barascu Tudor Email address: tudorbarascu@yahoo.com PostgreSQL version: 9.2.4 Operating system: Centos 6.4 kernel 2.6.32-358.6.2.el6.x86_64 Description:=20=20=20=20=20=20=20=20 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. If I enter the hostname and ip in the hosts file all works well. I get the following error: (it seems the host name gets resolved but after the deny) 2013-05-21 10:26:12 EEST:192.168.1.6(51513):sde@gisdb:[1997]: FATAL: 28000: no pg_hba.conf entry for host "192.168.1.6", user "sde", database "gisdb", SSL off 2013-05-21 10:26:12 EEST:192.168.1.6(51513):sde@gisdb:[1997]: DETAIL:=20 Client IP address resolved to "192.168.1.6", forward lookup not checked. 2013-05-21 10:26:12 EEST:192.168.1.6(51513):sde@gisdb:[1997]: LOCATION:=20 ClientAuthentication, auth.c:479 Thank you, Tudor --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs