Skip to content

Commit

Permalink
Merge pull request #89 from bigdargon/update-hosts
Browse files Browse the repository at this point in the history
Update hosts
  • Loading branch information
bigdargon committed Dec 10, 2018
2 parents e9b222c + 63146b1 commit 960bdde
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Hosts block ads of Vietnamese - Hosts chặn quảng cáo của người Việt

## iOS

- Với ứng dụng [Surge](https://github.com/bigdargon/hostsVN/wiki/Surge), [Shadowrocket](https://github.com/bigdargon/hostsVN/wiki/Shadowrocket) [Quantumult](https://github.com/bigdargon/hostsVN/wiki/Quantumult) sử dụng tập tin cấu hình dưới đây:
- Với ứng dụng [Surge](https://github.com/bigdargon/hostsVN/wiki/Surge) [Shadowrocket](https://github.com/bigdargon/hostsVN/wiki/Shadowrocket) sử dụng tập tin cấu hình dưới đây:
```
https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hostsVN.conf
```
Expand Down
8 changes: 2 additions & 6 deletions extend/hostsVN-extend.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!MANAGED-CONFIG https://raw.githubusercontent.com/bigdargon/hostsVN/master/extend/hostsVN-extend.conf interval=43200 strict=true
#!MANAGED-CONFIG https://raw.githubusercontent.com/bigdargon/hostsVN/master/extend/hostsVN-extend.conf interval=21600 strict=true
[General]
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, ::ffff:0.0.0.0/1, ::ffff:128.0.0.0/1, localhost, *.local
dns-server = system, 1.1.1.1, 9.9.9.9, 208.67.222.222
Expand All @@ -16,10 +16,6 @@ port = 8888
socks-port = 8889
enhanced-mode-by-rule = false

// Quantumult
[DNS]
system, 1.1.1.1, 9.9.9.9, 208.67.222.222

[Replica]
hide-apple-request = true
hide-crashlytics-request = true
Expand Down Expand Up @@ -106,7 +102,7 @@ DOMAIN-KEYWORD,tracking-,REJECT

FINAL,DIRECT

[HOST]
[Host]
doubleclick.net = 0.0.0.0
accounts.doubleclick.net = 0.0.0.0
g.doubleclick.net = 0.0.0.0
Expand Down
2 changes: 1 addition & 1 deletion option/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Thư mục tùy chọn

Tập tin sử dụng cho các ứng dụng như Adblock, Adguard, ShadowRocket, Surge, Quantumult và một số ứng dụng khác.
Tập tin sử dụng cho các ứng dụng như Adblock, Adguard, ShadowRocket, Surge và một số ứng dụng khác.
8 changes: 2 additions & 6 deletions option/hostsVN.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!MANAGED-CONFIG https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hostsVN.conf interval=43200 strict=true
#!MANAGED-CONFIG https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hostsVN.conf interval=21600 strict=true
[General]
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, ::ffff:0.0.0.0/1, ::ffff:128.0.0.0/1, localhost, *.local
dns-server = system, 1.1.1.1, 9.9.9.9, 208.67.222.222
Expand All @@ -16,10 +16,6 @@ port = 8888
socks-port = 8889
enhanced-mode-by-rule = false

// Quantumult
[DNS]
system, 1.1.1.1, 9.9.9.9, 208.67.222.222

[Replica]
hide-apple-request = true
hide-crashlytics-request = true
Expand Down Expand Up @@ -106,7 +102,7 @@ DOMAIN-KEYWORD,tracking-,REJECT

FINAL,DIRECT

[HOST]
[Host]
doubleclick.net = 0.0.0.0
accounts.doubleclick.net = 0.0.0.0
g.doubleclick.net = 0.0.0.0
Expand Down

0 comments on commit 960bdde

Please sign in to comment.