forked from wilson212/bf2stats
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCorefile
More file actions
25 lines (21 loc) · 806 Bytes
/
Corefile
File metadata and controls
25 lines (21 loc) · 806 Bytes
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
# DNS over UDP
.:53 {
# Try resolving DNS using the hosts file first
hosts /hosts {
ttl 1 # DNS TTL. 1 second so that the BF2 client doesn't cache the DNS
no_reverse # Do not generate reverse DNS records
reload 5s # hosts file reload interval
fallthrough # If no host is matched, continue down the plugin chain
}
# If it didn't match any records in the hosts file, forward this to your router's DNS server
forward . 192.168.0.1:53
# Or forward this DNS request to public DNS servers
# forward . tls://1.1.1.1 tls://1.0.0.1 {
# tls_servername cloudflare-dns.com
# health_check 5s
# }
# Log everything. There might be a performance hit, so remove it for better performance
log
# Log errors
errors
}