Skip site navigation (1) Skip section navigation (2)

Re: Why don't we allow DNS names in pg_hba.conf?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why don't we allow DNS names in pg_hba.conf?
Date: 2006-01-01 21:49:57
Message-ID: 15131.1136152197@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Am Sonntag, 1. Januar 2006 19:30 schrieb Tom Lane:
>> I don't see a good
>> reason why we shouldn't let people use DNS names.

> I generally support this, but I wonder if this could have strange
> effects if a name resolves to more than one IP address or even an IPv4
> and an IPv6 address.

That's a good point: we'd have to be prepared to match the actual remote
IP address to more than one return value from getaddrinfo, so the change
wouldn't be a one-liner after all.  It still seems like a pretty
localized change though.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2006-01-01 21:52:51
Subject: Re: Add a "Known Issues" section
Previous:From: Qingqing ZhouDate: 2006-01-01 21:45:55
Subject: Add a "Known Issues" section

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group