Created
March 22, 2020 15:20
-
-
Save xgenvn/5c540d271955abaf5a3a81991ebd6b1f to your computer and use it in GitHub Desktop.
Unbound DNS for local deveplopment
This file contains hidden or 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
| # Unbound configuration file on windows. | |
| # See example.conf for more settings and syntax | |
| server: | |
| # verbosity level 0-4 of logging | |
| verbosity: 0 | |
| # On windows you may want to make all the paths relative to the | |
| # directory that has the executable in it (unbound.exe). Use this. | |
| #directory: "%EXECUTABLE%" | |
| # if you want to log to a file use | |
| #logfile: "C:\unbound.log" | |
| # or use "unbound.log" and the directory clause above to put it in | |
| # the directory where the executable is. | |
| # on Windows, this setting makes reports go into the Application log | |
| # found in ControlPanels - System tasks - Logs | |
| #use-syslog: yes | |
| # on Windows, this setting adds the certificates from the Windows | |
| # Cert Store. For when you want to use forwarders with TLS. | |
| #tls-win-cert: yes | |
| local-zone: "beast.local." redirect | |
| # local-data: "beast.local. A 127.0.0.1" | |
| # local-data: "*.beast.local. A 127.0.0.1" | |
| local-data: "beast.local 3600 IN A 127.0.0.1" | |
| remote-control: | |
| # If you want to use unbound-control.exe from the command line, use | |
| control-enable: yes | |
| control-interface: 127.0.0.1 | |
| control-use-cert: no | |
| server: auto-trust-anchor-file: "C:\Program Files\Unbound\root.key" | |
| interface: 0.0.0.0 | |
| access-control: 10.0.0.0/8 allow | |
| access-control: 127.0.0.0/8 allow | |
| access-control: 192.168.0.0/16 allow | |
| forward-zone: | |
| name: "." | |
| forward-addr: 1.1.1.1@53#one.one.one.one | |
| forward-addr: 8.8.8.8@53#dns.google | |
| forward-addr: 9.9.9.9@53#dns.quad9.net | |
| forward-addr: 1.0.0.1@53#one.one.one.one | |
| forward-addr: 8.8.4.4@53#dns.google | |
| forward-addr: 149.112.112.112@53#dns.quad9.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment