Custom DNS with DHCP

Hi y’all, I need your help. I have to change the DNS but maintaining a dynamic IP (because at the moment I use an android hotspot as router). On Windows I can change the DNS without setting a static ip, how can I do it on Dietpi? Thanks in advance

I am not certain if you can do it from dietpi-config.
However you could try to add


in /etc/network/interfaces under the interface.
Or you can try to add the


in /etc/resolvconf/resolv.conf.d/head