Re: [GENERAL] DHCP and pg_hba.conf

Поиск
Список
Период
Сортировка
От Ron Atkins
Тема Re: [GENERAL] DHCP and pg_hba.conf
Дата
Msg-id 38C4135C.294C363A@earthlink.net
обсуждение исходный текст
Ответ на DHCP and pg_hba.conf  (Ron Atkins <theotiwii@earthlink.net>)
Список pgsql-general
Alfred Perlstein wrote:

> One trick would be add the subnets/ips into the conf file and make
> sure DHCP only gives out IP addresses from those subnets to those
> clients that are authorized.

That is an idea.

Isn't PostgreSQL limited by not utilizing some type of name resolution? Am
I looking for a work around because name resolution has yet to be added, or
is my question flawed?

Thank you for your help and your response Alfred

-Ron

PS: Another user posted this answer off list, I append our conversation:

> use localhost (127.0.0.1).

This begs the following two questions:

Question 1: If the PostgreSQL client and server do not reside on the same
host, is "localhost" just a kludge to indicate dynamic addressed clients?

Question 2: On a single system used as host and server, RMI (Remote Method
Invocation) refuses localhost as a parameter, it requires the hostname or
the IP address. Naturally PostgreSQL does what it wants, have you had the
occasion to confirm localhost works?



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

Предыдущее
От: Alfred Perlstein
Дата:
Сообщение: Re: [GENERAL] DHCP and pg_hba.conf
Следующее
От: Ed Loehr
Дата:
Сообщение: Re: [GENERAL] database corruption?