-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.yaml
34 lines (29 loc) · 796 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# DNS Server Listen Address
listen: 0.0.0.0:53
# One or more DNS Upstream Servers (default: Google DNS)
upstream:
- 8.8.8.8:53
- 8.8.4.4:53
# One or more Blacklist sources
blacklist:
- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
# Blacklist renewal interval in minutes - set to 0 to disable
blacklistRenewal: 1440
# Domain names to be resolved upstream, even if they are blacklisted
whitelist:
- googleadservices.com
- iadsdk.apple.com
# Optional names to be resolved to specific IP addresses
local:
- name: service1.local
target:
- address: 192.168.178.1
type: A
- address: 192.168.179.1
type: A
- address: fe80::9656:d028:8652:1111
type: AAAA
- name: service2.local
target:
- address: 192.168.178.2
type: A