I have a raspberry pi 4, and in the /etc/dhcpcd.conffile i change the paramaters to give the pi a static ip (that works great) but the static domain_name_servers doenst work, i have it set to 8.8.8.8 and 8.8.4.4 but if i reboot my pi, it still says (in the /etc/resolve.conf) that the dns is 127.0.0.1, does anybody know how to solve this?
extra note, in my router i have set the primairy dns to my pi, the secondary is set to 8.8.8.8, my pc gets the primary DNS