aboutsummaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2019-12-30 15:27:39 +0100
committerMartin Polden <mpolden@mpolden.no>2019-12-30 15:29:05 +0100
commit6c3aeec9d232e40406bc3e977441fc9a16d5d99a (patch)
tree413506f3426a7840ad505f25190526071d0c34ee /config.go
parent5cc54e27335d24b51561818ea3f4a165f095e466 (diff)
Add support for prefetching
Diffstat (limited to 'config.go')
-rw-r--r--config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.go b/config.go
index e74413f..3d581f1 100644
--- a/config.go
+++ b/config.go
@@ -25,6 +25,7 @@ type DNSOptions struct {
Listen string
Protocol string `toml:"protocol"`
CacheSize int `toml:"cache_size"`
+ CachePrefetch bool `toml:"cache_prefetch"`
HijackMode string `toml:"hijack_mode"`
hijackMode int
RefreshInterval string `toml:"hosts_refresh_interval"`