Created
November 29, 2017 19:11
-
-
Save bowei/f8362ca325f19b66bcaad3049c34dc5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine | |
RUN apk update | |
RUN apk add unbound bind-tools | |
COPY unbound.conf /etc/unbound/unbound.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server: | |
directory: "/etc/unbound" | |
username: root | |
logfile: "/unbound.log" | |
pidfile: "/unbound.pid" | |
verbosity: 2 # uncomment and increase to get more logging. | |
interface: 0.0.0.0 | |
interface: ::0 | |
access-control: 10.0.0.0/8 allow | |
access-control: 2001:DB8::/64 allow | |
# Bounce all requests with NXDOMAIN. | |
local-zone: "." always_nxdomain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment