make getpeername() return the original socket address which before it was intercepted
[hband-tools.git] / user-tools / dnsmasq-dbus-nameservers
blob92ead67a1b412fb7590e8516aad02e9e28df9f50
1 #!/bin/sh
3 dbus-call --system org.freedesktop.NetworkManager.dnsmasq /uk/org/thekelleys/dnsmasq org.freedesktop.NetworkManager.dnsmasq GetServerMetrics | jq -r '.[].address'
5 # may be queried via DNS:
6 # dig +short -c CH -t TXT servers.bind @localhost