Static name server in connman

Hi guys,

Is it possible to define a static name server (DNS) in connman?
I tried some configurations in /etc/connman.conf but no luck.
Every time I reboot the nameserver configured is the one provided by the DHCP.

Thanks for all the replies.

Yes – the easiest way is to set this up in My OSMC

Thanks for the reply, two additional questions.
Is there a way to configure using bash and/or configuration files?
Through My OSMC can I only setup static DNS and use DHCP for ip and the rest?

Yes – look up connmanctl. This will do what you want