title: Is there a way to get all IP addresses of YouTube to block it with Windows Firewall?
body: <p>I want to programme my own anti-distraction tool. I can not / do not want to use the <a href="https://en.wikipedia.org/wiki/Hosts_(file)" rel="nofollow noreferrer">hosts file</a> or third-party apps. When using <a href="https://en.wikipedia.org/wiki/IPsec" rel="nofollow noreferrer">IPsec</a> or <a href="https://en.wikipedia.org/wiki/Windows_Firewall" rel="nofollow noreferrer">Windows Firewall</a>, it only accepts IP addresses. There is</p>
  <p>youtube.[264 TLD] <br />
  www.youtube.[264 TLD] <br />
  subdomains.youtube.[264 TLD]</p>
  <p>Apparently, there is no way any more to get a complete list of YouTube sub domains.</p>
  <p>Is there a way to somehow obtain all YouTube IP addresses and block them on the IP address level other than using brute force subdomain pinging?</p>