From 113a61e01b635d2a8965bd014ffc06b5c6b243e4 Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Tue, 6 Apr 2021 15:40:48 +0800 Subject: [PATCH] add config examples --- blocklist.txt.example | 4 ++++ config.json.example | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 blocklist.txt.example create mode 100644 config.json.example diff --git a/blocklist.txt.example b/blocklist.txt.example new file mode 100644 index 0000000..cbae889 --- /dev/null +++ b/blocklist.txt.example @@ -0,0 +1,4 @@ +google.com +microsoft.com +facebook.com +twitter.com \ No newline at end of file diff --git a/config.json.example b/config.json.example new file mode 100644 index 0000000..61429f6 --- /dev/null +++ b/config.json.example @@ -0,0 +1,12 @@ +{ + "upstream_urls": [ + "https://cloudflare-dns.com/dns-query", + "https://dns.google/dns-query" + ], + "retries": 4, + "overrides": { + "test.com": "127.0.0.1", + "*.test.example.com": "127.0.0.2", + }, + "override_ttl": 600 +} \ No newline at end of file