FWIW the systemd 239+ version of systemd-resolve --status is resolvectl status. <br><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 5, 2018, 9:40 AM <<a href="mailto:gima%2Bml.systemd-devel@iki.fi">gima+ml.systemd-devel@iki.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">systemd-resolved has a DBUS API, which is used by network configuration <br>
managers such as systemd-networkd and NetworkManager to set the hostname <br>
resolution -related configuration to be used by systemd-resolved.<br>
<br>
You can see the runtime configuration of systemd-resolved by running <br>
`systemd-resolve --status`. To see what protocols (DNS, LLMNR, MDNS) are <br>
used to resolve a specific hostname, use `systemd-resolve <br>
somemachine.local`, for example.<br>
<br>
The protocols that are used during hostname resolution can be toggled <br>
per-interface using the same command, or they can be set via the DBUS <br>
API by some network configuration manager.<br>
<br>
Caution: The following is "as far as I know":<br>
Please note that the systemd-resolved DBUS API provides methods to do <br>
hostname resolution with more control over the resolution method than <br>
the functions provided by GNU C libraries. These latter functions <br>
inspect `hosts:` entry of `/etc/nsswitch.conf` to determine plugins that <br>
are used to do hostname resolution, one of which should be `resolve` to <br>
direct queries to systemd-resolved in case the GNU C hostname resolution <br>
API is used.<br>
<br>
Sorry if this veered into the territory of "I didn't ask this question". <br>
I just thought that clarifying the whole picture could help in better <br>
setting up hostname resolution.<br>
<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org" target="_blank">systemd-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><p dir="ltr">Ryan (ライアン)<br>
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else<br>
<a href="https://refi64.com/">https://refi64.com/</a></p>
</div>