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
обсуждение исходный текст
Ответ на Re: Psql wants to use IP6 when connecting to self using tcp...  (Jerry LeVan <jerry.levan@gmail.com>)
Список pgsql-general
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 по дате отправления: