Re: host name support in pg_hba.conf - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: host name support in pg_hba.conf
Date
Msg-id 20100810152350.GD26232@tamriel.snowman.net
Whole thread Raw
In response to Re: host name support in pg_hba.conf  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: host name support in pg_hba.conf
List pgsql-hackers
* Peter Eisentraut (peter_e@gmx.net) wrote:
> On mån, 2010-08-09 at 13:56 -0500, Kevin Grittner wrote:
> > Some IP addresses have several host names, including in reverse
> > lookup; how is that handled?
>
> This is not possible, or at least the C library APIs don't expose it.
> Compare the getnameinfo() and getaddrinfo() man pages, for example.

Don't know how it happens at a technical level, but I've definitely seen
it happen before..  Particularly with Windows domains where they don't
have "clean-up reverse DNS" enabled.  Manifests itself by having
different host names show up on successive requests...  Evil in any
case.
Stephen

pgsql-hackers by date:

Previous
From: Jan Otto
Date:
Subject: Re: patch for contrib/isn
Next
From: Robert Haas
Date:
Subject: Re: Session timeout on commitfest.postgresql.org