Re: Psql wants to use IP6 when connecting to self using tcp...

Поиск
Список
Период
Сортировка
Искать
От
Alan Hodgson
Тема
Re: Psql wants to use IP6 when connecting to self using tcp...
Дата
Msg-id
2e8880d153afae10aea61d59ec8c9fe879ffa84f.camel@lists.simkin.ca
Ответ на
Список
Дерево обсуждения
Psql wants to use IP6 when connecting to self using tcp... Jerry Levan <jerry.levan@gmail.com>
Re: Psql wants to use IP6 when connecting to self using tcp... Tom Lane <tgl@sss.pgh.pa.us>
Re: Psql wants to use IP6 when connecting to self using tcp... "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: Psql wants to use IP6 when connecting to self using tcp... Jerry LeVan <jerry.levan@gmail.com>
Re: Psql wants to use IP6 when connecting to self using tcp... Tom Lane <tgl@sss.pgh.pa.us>
Re: Psql wants to use IP6 when connecting to self using tcp... "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: Psql wants to use IP6 when connecting to self using tcp... Tom Lane <tgl@sss.pgh.pa.us>
Re: Psql wants to use IP6 when connecting to self using tcp... Alan Hodgson <ahodgson@lists.simkin.ca>
Re: Psql wants to use IP6 when connecting to self using tcp... Stephan Knauss <pgsql@stephans-server.de>
On Wed, 2021-06-23 at 17:25 -0500, Jerry LeVan wrote:

So the question is: Why does using the short name evidently cause postresql to use the ipv6 address
and using the full name use the ipv4 address?

I'm thinking this might be coming from Avahi, which might be enabled on Fedora by default. That uses local network broadcasts for name discovery, and is the only thing I can think of that would result in an fe80:: address showing up in a name search if you didn't deliberately add it to DNS.

Check /etc/nsswitch.conf and remove anything like mdns4_minimal.


В списке pgsql-general по дате отправления
От: David Rowley
Дата:
От: Thorsten Schöning
Дата:
FAQ