Prefetch DNS Records with Ad Guard Home: Is It Possible?

Abstract: AdGuard Home lacks native DNS prefetching, so this article explains workarounds like increasing cache size and using Unbound upstreams to reduce cold start latency.

Created: 2026-08-06 by
No, AdGuard Home does not currently support a native prefetch feature like Unbound’s prefetch option. The software relies on standard caching mechanisms where records are stored only after a client requests them. This means popular domains are not preemptively loaded into the cache to reduce initial latency for new queries.

Understanding AdGuard Home Caching Behavior

AdGuard Home manages DNS traffic by intercepting queries and checking its local database before forwarding requests to upstream resolvers. When a device asks for an IP address, the system looks for that record in its memory. If found, it returns the cached value immediately. If not, it performs the lookup, caches the result, and then serves it to the client. This process ensures consistency but introduces a slight delay for the first request to any given domain. The absence of prefetching is a known limitation compared to more advanced resolvers like Unbound or BIND. Those tools can monitor network traffic or use statistical models to predict which domains will be queried next and fetch their records in advance. AdGuard Home focuses on simplicity and privacy rather than aggressive pre-loading. It prioritizes blocking unwanted traffic and logging over optimizing cache hit rates through prediction.

Workarounds for Improved Performance

While you cannot enable prefetch directly, there are several strategies to mitigate the impact of cold caches. First, ensure your hardware has sufficient RAM. AdGuard Home stores all active cache entries in memory. A larger cache size allows more records to persist, reducing the need to re-fetch them frequently. You can adjust the cache size in the settings under DNS > Caching. Increasing this value helps keep popular sites available even after short periods of inactivity. Second, consider using a secondary resolver with prefetch capabilities as an upstream server. For example, you can configure AdGuard Home to forward queries to Unbound instead of Cloudflare or Google DNS. Unbound will handle the prefetching logic, and AdGuard Home will benefit from the pre-cached responses. This setup adds complexity but provides the performance benefits of prefetching without requiring native support in AdGuard Home. Third, optimize your client devices. Modern operating systems often implement their own DNS caching layers. Windows, macOS, and Linux distributions maintain local caches that store recent lookups. Ensuring these local caches are healthy reduces the frequency of queries sent to AdGuard Home. Additionally, using browser-specific features like HTTP/3 or QUIC can sometimes bypass traditional DNS lookups for known services, further reducing load on your DNS server. Configuring a Custom DNS Server for WireGuard VPN Clients shows how integrating different DNS solutions can enhance overall network efficiency. By combining AdGuard Home with other optimized resolvers, you can create a hybrid environment that balances privacy with performance.

Adjusting Cache Settings

To maximize the effectiveness of the existing cache, review the TTL (Time To Live) policies. AdGuard Home respects the TTL values provided by upstream servers. However, you can influence behavior by selecting upstreams that provide stable and reasonable TTLs. Avoid resolvers that issue very short TTLs, as this forces frequent refreshes and increases the chance of cache misses. Cloudflare and Google typically provide reliable TTLs that work well with AdGuard Home’s caching strategy.

Comparing With Other Resolvers

Unbound stands out for its prefetch capability, which actively monitors query patterns to preload likely candidates. This feature is particularly useful in high-traffic environments where every millisecond counts. AdGuard Home lacks this specific algorithmic approach. Instead, it relies on a straightforward least-recently-used (LRU) eviction policy when the cache reaches its limit. This difference highlights the trade-off between simplicity and advanced optimization. If prefetching is critical for your use case, migrating to Unbound might be necessary. However, AdGuard Home offers unique advantages in terms of user interface, filtering capabilities, and ease of deployment. Many users find that the slight latency increase from missing prefetch is negligible compared to the benefits of easy ad blocking and detailed analytics. Troubleshooting DNS Wildcard Domains: github.com Case Study illustrates how complex DNS configurations can affect resolution times. Understanding these interactions helps in tuning your DNS infrastructure regardless of whether you use prefetch or standard caching.

Future Development Possibilities

The AdGuard Home community frequently discusses potential features. Prefetching has been mentioned in various forums and GitHub issues as a desired enhancement. While no official timeline exists, the development team may consider implementing similar functionality in future releases. Keeping your software updated ensures you get the latest optimizations and bug fixes that improve caching efficiency. Monitoring your logs can provide insights into cache performance. Look for patterns where certain domains are consistently requested but rarely found in the cache. These "cold" domains might benefit from manual intervention or upstream changes. Over time, as your network usage stabilizes, the cache will naturally warm up, reducing the reliance on prefetch mechanisms.

Frequently Asked Questions

Does AdGuard Home block prefetch requests?

No, AdGuard Home does not block prefetch requests because it does not generate them itself. It only responds to queries initiated by clients or configured upstream resolvers. Any prefetching must come from the upstream server, such as Unbound, if that feature is enabled there.

Can I manually add domains to the cache?

Currently, there is no direct API or UI option to inject specific records into the AdGuard Home cache. You must rely on actual DNS queries to populate the cache. Some users simulate queries by pinging domains or loading websites to trigger lookups, effectively warming the cache manually.

How does cache size affect performance?

A larger cache size allows AdGuard Home to retain more records, reducing the frequency of external lookups. However, increasing it too much may consume excessive RAM on low-end devices. Find a balance that fits your hardware while keeping enough space for your most visited sites.

Is Unbound better than AdGuard Home for caching?

Unbound excels at advanced caching features like prefetching and recursion optimization. AdGuard Home focuses more on filtering, logging, and ease of use. If caching performance is your primary goal, Unbound is superior. If you need ad blocking and control, AdGuard Home is the better choice.

What happens if the cache is full?

When the cache reaches its maximum capacity, AdGuard Home uses an LRU policy to remove the least recently used entries. New queries will trigger fresh lookups until the removed records are needed again. This ensures that the most active domains remain accessible while older, unused records are discarded.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More