DNS rewrites not work #1245

Closed
opened 2026-03-04 01:10:15 -05:00 by deekerman · 3 comments
Owner

Originally created by @Expert73 on GitHub (Jan 7, 2020).

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Issue Details

  • Version of AdGuard Home server:
  • How did you setup DNS configuration:
  • If it's a router or IoT, please write device model:
  • Operating system and version:

Expected Behavior

Actual Behavior

Screenshots

Screenshot:

Additional Information

DNS rewrites not work. I am trying to redirect a test.com entry to a local resource 192.168.1.99. And it does not work

Originally created by @Expert73 on GitHub (Jan 7, 2020). <!-- As an open-source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can. --> ### Prerequisites Please answer the following questions for yourself before submitting an issue. **YOU MAY DELETE THE PREREQUISITES SECTION.** - [ ] I am running the latest version - [ ] I checked the documentation and found no answer - [ ] I checked to make sure that this issue has not already been filed ### Issue Details <!--- Please include all relevant details about the environment you experienced the bug in --> * **Version of AdGuard Home server:** * <!-- (e.g. v1.0) --> * **How did you setup DNS configuration:** * <!-- (System/Router/IoT) --> * **If it's a router or IoT, please write device model:** * <!-- (e.g. Raspberry Pi 3 Model B) --> * **Operating system and version:** * <!-- (e.g. Ubuntu 18.04.1) --> ### Expected Behavior <!-- A clear and concise description of what you expected to happen. --> ### Actual Behavior <!-- A clear and concise description of what actually happened. --> ### Screenshots <!-- If applicable, add screenshots to help explain your problem. --> <details><summary>Screenshot:</summary> <!--- drag and drop, upload or paste your screenshot to this area--> </details> ### Additional Information <!-- Add any other context about the problem here. --> DNS rewrites not work. I am trying to redirect a test.com entry to a local resource 192.168.1.99. And it does not work
Author
Owner

@ameshkov commented on GitHub (Jan 8, 2020):

To troubleshoot this issue we need to see AdGuard Home logs.

  1. Configure AdGuard Home to collect logs:
    • Specify log_file
    • Set verbose to True
  2. Restart AdGuard Home and reproduce the issue
  3. Post the log file here.
@ameshkov commented on GitHub (Jan 8, 2020): To troubleshoot this issue we need to see AdGuard Home logs. 1. [Configure](https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration#configuration-file) AdGuard Home to collect logs: * Specify `log_file` * Set `verbose` to `True` 2. Restart AdGuard Home and reproduce the issue 3. Post the log file here.
Author
Owner

@szolin commented on GitHub (Jan 17, 2020):

  1. Create a Rewrite entry test.com -> 192.168.1.99 in UI
  2. Perform DNS lookup via nslookup and show us the output.
    Please reopen the task then.
@szolin commented on GitHub (Jan 17, 2020): 1. Create a Rewrite entry `test.com -> 192.168.1.99` in UI 2. Perform DNS lookup via `nslookup` and show us the output. Please reopen the task then.
Author
Owner

@igrybkov commented on GitHub (Jan 26, 2022):

just in case somebody would come here from google, somehow I've got filtering_enabled set to false in the config and this was the reason for me. Changed it to filtering_enabled: true and everything works now.

@igrybkov commented on GitHub (Jan 26, 2022): just in case somebody would come here from google, somehow I've got `filtering_enabled` set to `false` in the config and this was the reason for me. Changed it to `filtering_enabled: true` and everything works now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#1245
No description provided.