Re: Conexión a PostgreSQL con nombre de dominio

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Linder Poclaba Lazaro <linderlpl(at)gmail(dot)com>
Cc: Francis Santiago <santiagocfc(at)gmail(dot)com>, pgsql-es-ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Conexión a PostgreSQL con nombre de dominio
Date: 2016-05-20 21:38:39
Message-ID: 20160520213839.GA352488@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Alvaro Herrera escribió:

> Hmm. ¿y en asmita, qué dice dig -x 192.168.15.53? Debería resolver de
> vuelta a srvdb-1.senape.gob.bo ... Si no, creo que te toca configurar el
> reverso, aunque no recuerdo claramente si esta parte es obligatoria.

If a host name is specified (anything that is not an IP address
range or a special key word is treated as a host name),
that name is compared with the result of a reverse name
resolution of the client's IP address (e.g., reverse DNS
lookup, if DNS is used). Host name comparisons are case
insensitive. If there is a match, then a forward name
resolution (e.g., forward DNS lookup) is performed on the host
name to check whether any of the addresses it resolves to are
equal to the client's IP address. If both directions match,
then the entry is considered to match. (The host name that is
used in <filename>pg_hba.conf</filename> should be the one that
address-to-name resolution of the client's IP address returns,
otherwise the line won't be matched. Some host name databases
allow associating an IP address with multiple host names, but
the operating system will only return one host name when asked
to resolve an IP address.)

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

-
Enviado a la lista de correo pgsql-es-ayuda (pgsql-es-ayuda(at)postgresql(dot)org)
Para cambiar tu suscripción:
http://www.postgresql.org/mailpref/pgsql-es-ayuda

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Francis Santiago 2016-05-20 21:43:05 Re: [pgsql-es-ayuda] Conexión a PostgreSQL con nombre de dominio
Previous Message Alvaro Herrera 2016-05-20 21:35:56 Re: Conexión a PostgreSQL con nombre de dominio