Make sure you can access the DNS server from your computer first. On MacOS Terminal, Linux terminal, or Windows CMD prompt, type:
nslookup www.youtube.com 163.172.141.219
or
nslookup www.youtube.com 207.246.121.77
You should get an IP address, or more likely a LIST of IPs, as a response. If...