Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cache not working if the request comes from public ipv6 versus local #7259

Open
4 tasks done
Celexi opened this issue Sep 14, 2024 · 0 comments
Open
4 tasks done

cache not working if the request comes from public ipv6 versus local #7259

Celexi opened this issue Sep 14, 2024 · 0 comments

Comments

@Celexi
Copy link

Celexi commented Sep 14, 2024

Prerequisites

Platform (OS and CPU architecture)

Linux, ARM64

Installation

GitHub releases or script from README

Setup

Other (please mention in the description)

AdGuard Home version

v0.107.52 in homeassistant

Action

Replace the following command with the one you're calling or a
description of the failing action:

nslookup google.com 
(goes through jrouter jto be forwarded to home assistant locally)
if the request arrives from the router's ipv4, any existing cache is used, if ipv6 and the origin address is the router public ipv6 instead of link local, the cache is ignored **always**.

Example

nslookup
server adguardipv4
google.com

result: cache used

server adguardipv6
google.com

result: cache ignored

adguard linklocal
google.com

result: cache used

Expected result

the cache should always follow settings and be used

Actual result

cache used inconsistently

If the issue is that it won't cache from public ip's (even though they are same subnet as adguard itself and thus local), there either should be a setting for it, or it should actually follow the private ip's setting in the configuration file, I tried adding my subnet there and it still ignores cache.

Additional information and/or screenshots

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant