AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
25.18k stars 1.81k forks source link

Unlock access to domain with custom filtering rule #3314

Closed lmangone closed 3 years ago

lmangone commented 3 years ago

Start of discussion in the forum : https://forum.adguard.com/index.php?threads/adguard-home-filtering-setup-question.43674/#post-212304

Issue Details

Expected Behavior

Unlock web site filtering with the following custom rule "@@||animedigitalnetwork.fr^$important"

Actual Behavior

Web site detect Ads blocker despite custom filtering rule

Screenshots

Screenshot: ![image](https://user-images.githubusercontent.com/17402030/124498688-0c4f1980-ddbd-11eb-884d-947bdb3ca58f.png)

Additional Information

I tried to clear my windows laptop dns cache with ipconfig /flushdns command and logoff login to my wifi but has no effect. Android devices has the same problem.

ainar-g commented 3 years ago

Hello. We cannot reproduce the issue. Have you also cleared AGH's cache? Try setting it to zero and then resetting it to previous value in “DNS settings” → “DNS cache configuration”.

lmangone commented 3 years ago

I set no value to the cache size and put a TTL max value=60s but it as still no effect when activating the AGH protection. What is new for me is that when I disable AGH protection, It works fine (was not the case before).

I also tried the following custom filtering rules

@@||https://animedigitalnetwork.fr^$important
@@||animedigitalnetwork.fr^$important
ameshkov commented 3 years ago

Could you please examine the query log, what exact rule is blocking animedigitalnetwork.fr?

lmangone commented 3 years ago

@ameshkov where can I get this information ? From AGH logs or from web browser developper tools ?

lmangone commented 3 years ago

Here are the custom filter rules I put in AGH

@@||https://animedigitalnetwork.fr^$important
@@||animedigitalnetwork.fr^$important

No DNS cache size and a TTLmax=60s

Here are the Chrome console logs

2.b7095c03.chunk.js:1 Invalid asm.js: Unexpected token
Helmet.js:493 GET https://securepubads.g.doubleclick.net/tag/js/gpt.js net::ERR_NAME_NOT_RESOLVED
  | (anonymous) | @ | Helmet.js:493 -- | -- | -- | --   | oe | @ | Helmet.js:492   | te | @ | Helmet.js:372   | (anonymous) | @ | Helmet.js:342   | requestAnimationFrame (async) |   |     | (anonymous) | @ | Helmet.js:341   | c | @ | index.js:65   | a.UNSAFE_componentWillMount | @ | index.js:99   | wo | @ | react-dom.production.min.js:3202   | Ba | @ | react-dom.production.min.js:4307   | gu | @ | react-dom.production.min.js:6700   | ls | @ | react-dom.production.min.js:6150   | us | @ | react-dom.production.min.js:6139   | $u | @ | react-dom.production.min.js:5880   | Hu | @ | react-dom.production.min.js:5678   | Ls | @ | react-dom.production.min.js:7086   | (anonymous) | @ | react-dom.production.min.js:7181   | ts | @ | react-dom.production.min.js:5931   | Ws | @ | react-dom.production.min.js:7180   | t.render | @ | react-dom.production.min.js:7363   | 855 | @ | index.js:13   | s | @ | 10210-episode-137-l-…ays-des-samourais:4   | 371 | @ | main.2bcc0f3c.chunk.js:1   | s | @ | 10210-episode-137-l-…ays-des-samourais:4   | l | @ | 10210-episode-137-l-…ays-des-samourais:4   | e | @ | 10210-episode-137-l-…ays-des-samourais:4   | (anonymous) | @ | main.2bcc0f3c.chunk.js:1