3 ms·
On this system hostname -i says 127.0.1.1, despite this address not being set on any of my interfaces (lo0 is 127.0.0.1).
by c22 11y ago
On this system hostname -i says 127.0.1.1, despite this address not being set on any of my interfaces (lo0 is 127.0.0.1).
- c22 11y agoIt looks like hostname -i is getting its value from /etc/hosts. hostname --all-ip-addresses returns the correct result.