DNS
Hiển thị các bài đăng có nhãn DNS. Hiển thị tất cả bài đăng

How to block a wildcard domain on Windows

To block a wildcard domain on Windows:


We can use Acrylic DNS Proxy (free and open source). It creates a proxy DNS server on your computer with its own hosts file, which supports wildcards.

1. Download and Install Acrylic DNS Proxy

Download Acrylic DNS Proxy from the official website and install it: https://infra.lecuong.info/acrylic-dns-proxy

2. Edit Network Adapter Settings to Point to Acrylic DNS Proxy (127.0.0.1)

Set the Preferred DNS server to 127.0.0.1


IPv4 or IPv6

By completing this step, your system will route all DNS queries through Acrylic DNS Proxy.

3. Configuring Acrylic DNS Proxy to Block a Wildcard Domain

To block a wildcard domain, such as *.youtube.com, follow these steps:

How to Cleanup Stale DNS Records?

  How to Configure DNS Aging and Scavenging (Cleanup Stale DNS Records)

DNS Aging và Scavenging là gì?

Nó là một tính năng trong DNS Server giúp tự động dọn dẹp các bản ghi cũ.

  • DNS Scavenging chỉ xóa các các bản ghi dynamically thỏa điều kiện timestamp.
  • DNS Scavenging không xóa các bản ghi static.
  • DNS Scavenging không được bật mặc định.

Chỉ nên bật DNS scavenging với một DNS Server duy nhất.

Các bước cấu hình như sau: