DNS/unbound/ubuntuについて、ここに記述してください。
http://manpages.ubuntu.com/manpages/lucid/man5/unbound.conf.5.html
1. 起動
boot時に起動するには:
- /etc/default/unbound, /etc/init.d/unbound
が必要らしい。
これらで参照するファイルなども。
- /usr/local/etc/unbound
2. /etc/unbound/unbound.conf
# Unbound configuration file for Debian. # # See the unbound.conf(5) man page. # # See /usr/share/doc/unbound/examples/unbound.conf for a commented # reference config file. # # The following line includes additional configuration files from the # /etc/unbound/unbound.conf.d directory. include: "/etc/unbound/unbound.conf.d/*.conf"
$ wc /usr/share/doc/unbound/examples/unbound.conf 591 3658 23827 /usr/share/doc/unbound/examples/unbound.conf
3. /etc/unbound/unbound.conf.d/
ls
root-auto-trust-anchor-file.conf
4. root-auto-trust-anchor-file.conf
server: # The following line will configure unbound to perform cryptographic # DNSSEC validation using the root trust anchor. auto-trust-anchor-file: "/var/lib/unbound/root.key"
; autotrust trust anchor file ;;id: . 1 ;;last_queried: 1410133149 ;;Mon Sep 8 08:39:09 2014 ;;last_success: 1410133149 ;;Mon Sep 8 08:39:09 2014 ;;next_probe_time: 1410172598 ;;Mon Sep 8 19:36:38 2014 ;;query_failed: 0 ;;query_interval: 43200 ;;retry_time: 8640 . 172800 IN DNSKEY 257 3 8 AwEAAagAIKlVZrpC6Ia7gEzahOR+9W29euxhJhVVLOyQbSEW0O8gcCjFFVQUTf6v58fLjwBd0YI0EzrAcQqBGCzh/RStIoO8g0NfnfL2MTJRkxoXbfDaUeVPQuYEhg37NZWAJQ9VnMVDxP/VHL496M/QZxkjf5/Efucp2gaDX6RS6CXpoY68LsvPVjR0ZSwzz1apAzvN9dlzEheX7ICJBBtuA6G3LQpzW5hOA2hzCTMjJPJ8LbqF6dsV6DoBQzgul0sGIcGOYl7OyQdXfZ57relSQageu+ipAdTTJ25AsRTAoub8ONGcLmqrAmRLKBP1dfwhYB4N7knNnulqQxA+Uk1ihz0= ;{id = 19036 (ksk), size = 2048b} ;;state=2 [ VALID ] ;;count=0 ;;lastchange=1408844463 ;;Sun Aug 24 10:41:03 2014