10.0.0.1
is my upstream server.
10.11.11.11
and 10.12.12.12
are the DNS servers for my VPN under domain example.com
10.21.21.21.21
and 10.22.22.22
are the DNS servers for my other VPN under domain example.net
Command (spacing within the code is optional)
sudo gdbus call -y \ -d org.freedesktop.NetworkManager.dnsmasq \ -o /uk/org/thekelleys/dnsmasq \ -m uk.org.thekelleys.dnsmasq.SetServersEx \ "[ ['10.11.11.11', 'example.com'], ['10.12.12.12', 'example.com'], ['10.21.21.21', 'example.net'], ['10.22.22.22', 'example.net'], ['10.0.0.1'] ]"
Nenhum comentário:
Postar um comentário