diff options
Diffstat (limited to 'net-dns/dnsdist/files/dnsdist.conf.example')
-rw-r--r-- | net-dns/dnsdist/files/dnsdist.conf.example | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-dns/dnsdist/files/dnsdist.conf.example b/net-dns/dnsdist/files/dnsdist.conf.example new file mode 100644 index 000000000000..ffcc6060ef0c --- /dev/null +++ b/net-dns/dnsdist/files/dnsdist.conf.example @@ -0,0 +1,19 @@ +--[[ +This is an example dnsdist configuration file. +Please refer to the dnsdist documentation +at http://dnsdist.org/README/ for more information. +]]-- + +-- Listen on 192.0.2.1 on port 53. +setLocal("192.0.2.1:53") + +-- Add 2001:db8::2:1 to the list of adresses dnsdist should listen on +addLocal("2001:db8::2:1") + +-- Add to the ACL set who can use this server +addACL("192.0.2.0/24") +addACL("2001:db8::/32") + +-- Instantiate two new downstram server with their default settings +newServer("198.51.100.1") +newServer("198.51.100.2") |