Kamis, 06 Februari 2025

Optimizing AdGuard Home Caching for Maximum Performance

Optimizing AdGuard Home Caching for Maximum Performance

Optimizing AdGuard Home Caching for Maximum Performance

AdGuard Home has a DNS caching feature that can speed up DNS responses and reduce the load on the main server. Here are the steps to optimize caching in AdGuard Home.

1. Open AdGuard Home Settings

Access the AdGuard Home dashboard via a browser:

http://IP-SERVER:3000

2. Adjust Caching Parameters

Go to the SettingsDNS Settings menu, then find the Cache Size section.

Increase the cache value to improve performance:

  • Cache size: 4096 (or higher if RAM allows)
  • Cache TTL min: 600 (10 minutes)
  • Cache TTL max: 86400 (1 day)

3. Enable Aggressive Caching

Scroll down and enable the Optimized Cache option to speed up DNS lookups.

4. Save Changes

Click the Save button to apply the settings.

5. Test Caching Performance

Use the following command in the terminal to test caching:

dig google.com @127.0.0.1

Run this command multiple times and observe if the response becomes faster.

Conclusion

With this optimization, AdGuard Home will work more efficiently as a DNS cache, reducing latency and speeding up internet access.

Share: