configure dns with dhcp enabled

  • hi, i use wifi to access the internet. my dns provider blocks some domains. i would like to use 9.9.9.9 as dns provider. is there a way to use dhcp but not for dns information? like "use dhcp as usual but use the dns resolver x for everything"?

  • for anyone else that might encounter that:

    Code
    1) list services to get the service name:
    LibreELEC:~ # connmanctl services
    *AO ssid1        wifi_2ccf6706c612_abc_managed_psk
       ssid2                wifi_2ccf6706c612_cde_managed_psk
    Code
    2) set the dns servers on the service 
    connmanctl config wifi_2ccf6706c612_abc_managed_psk --nameservers 5.1.66.255,185.150.9.255

    i use those that should not filter anything for germany