AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

clash fake ip mode ,adguardhome dns test fail

Open WangQAQ opened this issue 2 years ago • 3 comments

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Custom package (OpenWrt, HomeAssistant, etc; please mention in the description)

Setup

On a router, DHCP is handled by the router

AdGuard Home version

v0.107.41

Action

i set clash dns server port of adguardhome upstram dns server,but clash is work as fake ip mode.so when i touch test dns buttom it will notice me clash dns server test fail.because its return a fake ip. but it actully work will .

REQUIRE IAMGE image

Expected result

TEST SUCCESS image

Actual result

TEST FAIL IMAGE image

Additional information and/or screenshots

No response

WangQAQ avatar Nov 25 '23 09:11 WangQAQ

did you use dns utils test this address? e.g: dig www.bing.com @127.0.0.1 -p7874

nmreadelf avatar Nov 27 '23 22:11 nmreadelf

@wangqaq, which actual part of the returned HTTP response corresponds to this upstream? It may be related to the test we perform for healthchecking the servers, so this one may respond in an unexpected way.

EugeneOne1 avatar Dec 04 '23 08:12 EugeneOne1

@wangqaq, which actual part of the returned HTTP response corresponds to this upstream? It may be related to the test we perform for healthchecking the servers, so this one may respond in an unexpected way. TEST FAIL IMAGE 127.0.0.1:7874,this is clash dns server,maybe adguardhome test upstream dns server is compare upstream dns server response ip to some domain real ip? because clash work in fake ip mode,it will give a ip such as 192.18.0.15 mapping to that domain to proxy?

WangQAQ avatar Dec 05 '23 07:12 WangQAQ

You didn't provide an answer

overwatch3560 avatar Apr 11 '24 22:04 overwatch3560

@wangqaq, which actual part of the returned HTTP response corresponds to this upstream? It may be related to the test we perform for healthchecking the servers, so this one may respond in an unexpected way. TEST FAIL IMAGE 127.0.0.1:7874,this is clash dns server,maybe adguardhome test upstream dns server is compare upstream dns server response ip to some domain real ip? because clash work in fake ip mode,it will give a ip such as 192.18.0.15 mapping to that domain to proxy?

yes ,clash work in fake-ip mode will give a such as 192.18.0.15 mapping to that domian to proxy,and its not true ip which is domain registered

WangQAQ avatar Apr 20 '24 13:04 WangQAQ

@wangqaq, which actual part of the returned HTTP response corresponds to this upstream? It may be related to the test we perform for healthchecking the servers, so this one may respond in an unexpected way. TEST FAIL IMAGE 127.0.0.1:7874,this is clash dns server,maybe adguardhome test upstream dns server is compare upstream dns server response ip to some domain real ip? because clash work in fake ip mode,it will give a ip such as 192.18.0.15 mapping to that domain to proxy?

yes ,clash work in fake-ip mode will give a such as 192.18.0.15 mapping to that domian to proxy,and its not true ip which is domain registered

when clash monitor that ip requrst will proxy to ur proxy group node,& i ping that fake ip in cmd, it actually responsed.

WangQAQ avatar Apr 20 '24 13:04 WangQAQ