UniFi Gateway - Ad Blocking

Ad Blocking is a feature found in the Firewall & Security section of your Network application that allows you to reduce the number of ads you experience while browsing the internet. This is done by using DNS to block common ad domains. Once a domain is blocked, all ads served by that domain will also be blocked.


  • A Next-Gen UniFi gateway or UniFi OS Console with an integrated Next-Gen gateway.
  • Your DHCP DNS Server is set to Auto.
    Note: This is found in the DHCP Service Management section of your Network settings.


Some client-specific privacy or DNS features may prevent ads from being blocked. These include:

  • Encrypted DNS (DoH / DoT).
  • Android Private DNS and Apple iCloud Private Relay / Limit IP Address Tracking.
  • Client VPNs or proxies.
Was this article helpful?
147 out of 349 found this helpful