allow changing DNS when using DHCP

  • When i use DHCP and then try to change the DNS it says its forbidden, which is a bit odd. Unfortunately, in my country we are sometimes forced to use a different DNS server than the one that is sent by the proprietary router (where nothing like dns is configurable).

  • Code
    connmanctl config <service_name> --nameservers 8.8.8.8 1.1.1.1

    The GUI is probably coded around the concept of mutually exclusive DHCP or Manual connection. See if you can set it from the CLI?