Ping google.com fails and /etc/resolv.conf gets overwritten

192.168.18.1 is my router. Apparently, the way I was setting my DNS to 192.168.18.13 (my pi-hole) was incorrect. I found another way to set it in the router and now everything seems to work fine. Thanks!