[Webinar] Introducing Employee Experience Optimization for the Work-From-Anywhere Era Watch On-Demand

Script Library

Boost your management, troubleshoot, and remediation capabilities with scripts created by experts in the IT community.

<< Back to Script Library

Tag: ip blocking

(1 Scripts)
This script can be used as a quick way to block access to a URL. The provided URLs (comma separated) are placed in a ‘ControlUp’ section of the HOSTS file, where they are directed to 127.0.0.1. As a result DNS lookup of these URLs always point to home, essentially preventing access to a website unless you know the IP number.
After this the command IPCONFIG /FLUSHDNS is run to clear the DNS cache.
Version: 1.4.19  |   Created: 2020-03-30  |   Modified: 2020-03-30  |   Creator: Ton de Vreede  |   Downloads: 22