1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-07 17:17:44 +03:00
systemd-stable/src/nss-myhostname
Lennart Poettering a1fdbcbe3d nss-myhostname: expose the "outbound" IP addresses under the synthetic "_outbound" hostname
I found myself often looking for a quick way to determine "the local IP
address", and then being lost in the "ip addr" output to find for the
right one to use. This is supposed to help a bit with that. Let's
introduce a new special hostname "_outbound" with semantics similar to
"_gateway" that resolves to addresses that are the closest I could come
up with that maps to "the" local IP address.
2021-04-23 12:02:11 +02:00
..
nss-myhostname.c nss-myhostname: expose the "outbound" IP addresses under the synthetic "_outbound" hostname 2021-04-23 12:02:11 +02:00
nss-myhostname.sym license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00