Print the first non-loopback DNS resolver address reported by resolvectl.

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_ad_current_dns

Purpose

Print the first non-loopback DNS resolver address reported by resolvectl.

Usage

  sgnd_ad_current_dns