Re: host name support in pg_hba.conf
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>, pgsql-hackers@postgresql.org
Date: 2010-08-10T15:23:50Z
Lists: 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