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

Services not being blocked #4917

Closed
3 tasks done
thunderclap82 opened this issue Sep 13, 2022 · 5 comments
Closed
3 tasks done

Services not being blocked #4917

thunderclap82 opened this issue Sep 13, 2022 · 5 comments
Labels
invalid Not an issue with AGH or a misunderstanding

Comments

@thunderclap82
Copy link

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to report a bug and not ask a question

Operating system type

Linux, Other (please mention the version in the description)

CPU architecture

64-bit ARM

Installation

Other (please mention in the description)

Setup

On one machine

AdGuard Home version

v0.108.0-a.278+88812f05

Description

Running the latest edge build on Raspberry Pi (snap) to fix bug this bug, however blocking of services (such as Youtube) no longer works. Access to service is still accessible on devices set to be blocked.

@ainar-g
Copy link
Contributor

ainar-g commented Sep 14, 2022

Hello. Please follow the steps in the FAQ to diagnose the issue. In particular, make sure that you can actually see the queries for these resources (YouTube, etc.) in the Query log and that clients are correctly identified there.

@ainar-g ainar-g added the waiting for data Waiting for users to provide more data. label Sep 14, 2022
@thunderclap82
Copy link
Author

thunderclap82 commented Sep 15, 2022

I’m not sure what I did but I just start testing different settings and it suddenly started working again. So not a bug but user error somewhere.

@ainar-g ainar-g added invalid Not an issue with AGH or a misunderstanding and removed waiting for data Waiting for users to provide more data. labels Sep 15, 2022
@theschles
Copy link

@ainar-g please re-open this?

Prerequisites

I have checked the Wiki and Discussions and found no answer

I have searched other issues and found no duplicates

I want to report a bug and not ask a question

Operating system type

Docker on RaspbianOS

CPU architecture

uname -a :
Linux 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux

Setup

On one machine

AdGuard Home version

v0.107.38

Description

tl;dr:

  • In AGH I enabled Client filter for a particular IP with the YouTube service blocked
  • I then try surfing to Youtube.com on that particular IP -- and the Youtube home page loads
  • Refresh again and again and again -- and the Youtube home page STILL loads
  • I look at AGH's Query Log -- and the Query Log shows repeatedly blocking YouTube for that particular IP
  • HELP!?!

Longer description:
I have two sons -- each of whom have a school-issued Chromebook. They're watching YouTube whenever we're not looking...which putting their grades in danger.

I installed AGH on Docker on one of my Raspberry Pi's.

I set up a Client entry in AGH for the IP address of one of the boys' Chromebooks -- setting YouTube to be a disabled service.

I now open up Youtube in Chrome on one son's Chromebook -- and the Youtube page loads just fine. It continues to load just fine as a refresh and refresh and refresh.

I tried disabling the Youtube block-service button in the Client setting, saving, then re-enabling the Youtube block-service button and saving. Still not blocked.

I now look at AGH's Query Log and -- sure enough -- AGH is officially blocking the name-to-IP resolution. Somehow still the Chromebook can do the name-to-IP resolution.

I then wondered if the problem was DNS TTL -- so I set AGH's DNS Maximum TTL to 300 (seconds).

No change: Youtube still opens just fine on my son's Chromebook.

HELP?!?!?

@theschles
Copy link

Never mind, I think I know what I did wrong: I configured DNS setting for NXDOMAIN -- and I think that caused it to fail over to another DNS server.

@2507rkt3
Copy link

I'm experiencing the same thing.

@theschles - what settings did you use to get it to work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Not an issue with AGH or a misunderstanding
Projects
None yet
Development

No branches or pull requests

4 participants