Re: [pgsql-es-ayuda] Conexión a PostgreSQL con nombre de dominio

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

Podrías agregarlo en el /etc/hosts del Servidor PostgreSQL
Pero es posible que eso deba a una configuración incorrecta en los DNS
internos.

2016-05-20 17:38 GMT-04:00 Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>:

> 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
>

--
*Francis del Carmen Santiago Cermeño*
*Ingeniero en Informática *
*Certification PostgreSQL Associate*
*Certification **PostgreSQL 9.4 Professional*
*Twiter:* sancfc
*Celular: +56952456172*
[image: LinkedIn]
*https://www.linkedin.com/in/sancfc <https://www.linkedin.com/in/sancfc>*

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Linder Poclaba Lazaro 2016-05-20 21:45:22 Re: [pgsql-es-ayuda] Conexión a PostgreSQL con nombre de dominio
Previous Message Alvaro Herrera 2016-05-20 21:38:39 Re: Conexión a PostgreSQL con nombre de dominio