I think that is possible just a service. Am I right? If I have an interface which is not a service (not connected with a cable), how to get DNS servers from the system if connman override resolv.conf file?


În lun., 23 apr. 2018 la 23:35, Daniel Wagner <wagi@monom.org> a scris:
On 04/20/2018 03:16 PM, Vasiu Alexandru wrote:
> It's working. But to get the DNS Servers of such an interface? (if I
> won't set it in the provisioning file) Because resolv.conf is overridden
> by connman.

Not sure I understood your question correct. But if you want to know
which DNS server is used you can query ConnMan via the D-Bus interface.