Skip to content

"Merging" Whitelists into default group #276

Answered by 0xERR0R
Nold360 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

it should work. I tried with following config:

# blocky.yml
httpPort: 4000
logLevel: trace

upstream:
  default:
    - 8.8.8.8
    - 1.1.1.1
blocking:
  whiteLists:
    ms:
      - |
        doubleclick.net
  blackLists:
    ads:
      - |
        doubleclick.net
        doubleclick.com
  clientGroupsBlock:
    default:
      - ads
    192.168.178.29:
      - ads
      - ms
port: 55555

192.168.178.29 is my IP address.

# doublecklick.com blocked
dig @192.168.178.29 -p 55555 +short  doubleclick.com                                                                                                                                                   
0.0.0.0
# doublecklick.net resolved, because…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 0xERR0R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
❔ question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #271 on September 11, 2021 19:32.