[youtube] Is there a way to get all IP addresses of youtube to block it with Windows Firewall?

I want to programme my own anti distraction tool. I can not / do not want to use hosts or third party apps. When using IPSEC or Windows firewall, it only accepts IP adresses. There is

youtube.[264 TLD]
www.youtube.[264 TLD]
subdomains.youtube.[264 TLD]

Appearantly there is no way anymore to get a complete list of youtube sub domains.

Can someone think of a way to somehow obtain all youtube ip addresses and block them on ip level other than using brute force subdomain pinging?

This question is related to youtube ip firewall blocking windows-firewall

The answer is


Examples related to youtube

Youtube - downloading a playlist - youtube-dl YouTube Autoplay not working How to embed new Youtube's live video permanent URL? How do you use youtube-dl to download live streams (that are live)? How can I get the actual video URL of a YouTube live stream? YouTube: How to present embed video with sound muted ffprobe or avprobe not found. Please install one Failed to execute 'postMessage' on 'DOMWindow': https://www.youtube.com !== http://localhost:9000 cast_sender.js error: Failed to load resource: net::ERR_FAILED in Chrome Embed YouTube video - Refused to display in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'

Examples related to ip

Can't access 127.0.0.1 Correct way of getting Client's IP Addresses from http.Request How to get the IP address of the docker host from inside a docker container How to access site through IP address when website is on a shared host? How to change proxy settings in Android (especially in Chrome) What is the difference between 0.0.0.0, 127.0.0.1 and localhost? socket.error:[errno 99] cannot assign requested address and namespace in python Get client IP address via third party web service Getting IP address of client IIS - can't access page by ip address instead of localhost

Examples related to firewall

Connection refused to MongoDB errno 111 Open firewall port on CentOS 7 Jenkins Slave port number for firewall Sending and receiving UDP packets? How can I remove specific rules from iptables? Is there a way to get all IP addresses of youtube to block it with Windows Firewall? iptables block access to port 8000 except from IP address What port is used by Java RMI connection? Viewing my IIS hosted site on other machines on my network

Examples related to blocking

How to create a sleep/delay in nodejs that is Blocking? Is there a way to get all IP addresses of youtube to block it with Windows Firewall? asynchronous vs non-blocking How to prevent downloading images and video files from my website? Polling the keyboard (detect a keypress) in python

Examples related to windows-firewall

Is there a way to get all IP addresses of youtube to block it with Windows Firewall? Can't connect to MySQL server on 'localhost' (10061)