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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why don't we allow DNS names in pg_hba.conf?
Дата
Msg-id 15131.1136152197@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why don't we allow DNS names in pg_hba.conf?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Qingqing Zhou
Дата:
Сообщение: Add a "Known Issues" section
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Add a "Known Issues" section