On 23.03.26 11:58, Thomas Krichel wrote:
Paul Tomblin via Mailman-users writes
I would change that to localhost if I were you.
Thank you. I copied this from the documentation athttps://docs.mailman3.org/en/latest/install/virtualenv.html
I have mine as 127.0.0.1:8000
I now use localhost:8000, having tried to make sure it can be looked up.
root@darni ~ # nslookup localhost Server: 185.12.64.1 Address: 185.12.64.1#53
This uses DNS to resolve localhost following the domain search list of your resolver configuration. That is irrelevant.
localhost is set in /etc/hosts for 127.0.0.1 and ::1 and nsswitch.conf is configured to consult files before dns.
The only relevant source for the localhost ip address mappings should be /etc/hosts This should always be this way so that you can always resolve localhost regardless of whether you have a network connection or not, whether it's booting up or shutting down...
-Gerald