DNS problem can't update Centos

I have tailscale running on Centos 8 and I can ping google’s ip address:

PING 64.233.160.1 (64.233.160.1) 56(84) bytes of data.
64 bytes from 64.233.160.1: icmp_seq=1 ttl=105 time=56.3 ms

and DNS

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=19.2 ms

But I can’t ping google.com and therefor I can download updated for software on my remote machine

ping: googledotcom: Name or service not known

and update:

CentOS Stream 8 - AppStream 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘appstream’:

  • Curl error (6): Couldn’t resolve host name for (had to remove link to post)
    Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: Curl error (6): Couldn’t resolve host name for (had to remove link to post)
    I assume this is a dns issue but I am not sure.

Here is my dns:

cat /etc/resolv.conf

resolv.conf(5) file generated by tailscale

For more info, see (had to remove to post)

DO NOT EDIT THIS FILE BY HAND – CHANGES WILL BE OVERWRITTEN

nameserver 100.100.100.100
search tail03932.ts.net