stop dhcpcd overwriting /etc/resolv.conf by adding the following to /etc/dhcpcd.conf

nohook resolv.conf

https://wiki.archlinux.org/index.php/Dhcpcd#/etc/resolv.conf