Skip to content

Instantly share code, notes, and snippets.

@chibani
Created March 18, 2013 14:58
Show Gist options
  • Save chibani/5187746 to your computer and use it in GitHub Desktop.
Save chibani/5187746 to your computer and use it in GitHub Desktop.
Exemple de config pour unbound.conf
server:
#verbosity: 1
#definition des interfaces réseaux du serveur
interface: 127.0.0.1
interface: 192.168.0.20
#ouverture à tout le monde
access-control: 0.0.0.0/0 allow
chroot: ""
#emplacement du fichier de log
logfile: "/var/log/unbound.log"
#je ne souhaite pas "pourrir" le syslog
use-syslog: no
# ma zone de dev : *.dev.com
local-zone: "dev.com." redirect
local-data: "dev.com. IN A 192.168.0.10"
# Utilisation du DNS "normal" (ici, celui de ma box) pour tout le reste
forward-zone:
name: "."
forward-addr: 192.168.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment