dnsmasq はうまく動かないのでunboundをinstallした
apt-get install unbound
vi /etc/unbound/unbound.conf.d/unbound.conf
server:
verbosity: 1
interface: 0.0.0.0
access-control: 127.0.0.0/24 allow
access-control: 192.168.1.0/24 allow
local-data: “nas.private.ckenko25.jp. IN A 192.168.1.3”
local-data: “nas. IN A 192.168.1.3”
python:
remote-control:
forward-zone:
name: “.”
forward-addr: 8.8.8.8
forward-addr: 8.8.4.4
エラーがないか
unbound-checkconf
再起動
service unbound restart
コメント