AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Rewritten by the hosts file rule

Open otomaid opened this issue 6 years ago • 2 comments

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

Issue Details

  • Version of AdGuard Home server:
    • v0.102.0
  • How did you setup DNS configuration:
    • Windows 10 ipv4 config
    • AdGuard Pro for iOS
  • If it's a router or IoT, please write device model:
    • N/A
  • Operating system and version:
    • Ubuntu 16.04.1 LTS

Expected Behavior

It should response domain's actual ip as older AdGuard Home.

Actual Behavior

Response IP from hosts file.

Screenshots

Screenshot: キャプチャ

Additional Information

My domain is using Cloudflare services, and I am unable to change my VPS hosts file due to the provider limitation. It has no problem with version prior to v0.102.0 .

otomaid avatar Jun 04 '20 19:06 otomaid

The information from /etc/hosts has higher priority than anything else. If you want it to have a different IP, you should simply remove that line from /etc/hosts

ameshkov avatar Jun 05 '20 09:06 ameshkov

Sorry for not being clear, the hosts file is in server-side. It has no problem before. The screenshot I provided is the AdGuard Home Logs too

otomaid avatar Jun 05 '20 10:06 otomaid