Skip to content

server left without working dns

i initialized and deployed a demo node (pc-vpn1 in HK), and at some stage (i don't have the deploy log anymore), it was left without working dns:

root@pc-vpn1:~# host -v ix.de
Trying "ix.de"
;; connection timed out; no servers could be reached
root@pc-vpn1:~# cat /etc/resolv.conf 
# managed by puppet
domain example.org
search example.org

nameserver 127.0.0.1
nameserver 87.118.100.175
nameserver 62.141.58.13
root@pc-vpn1:~# /etc/init.d/unbound restart
[....] Restarting recursive DNS server: unbound/etc/unbound/unbound.conf:12: error: cannot open include file '/etc/unbound/conf.d/vpn_unlimited_udp_resolver': No such file or directory
/etc/unbound/unbound.conf:13: error: cannot open include file '/etc/unbound/conf.d/vpn_unlimited_tcp_resolver': No such file or directory
read /etc/unbound/unbound.conf failed: 2 errors in configuration file
[1380272014] unbound[3208:0] fatal error: Could not read config file: /etc/unbound/unbound.conf
 failed!
root@pc-vpn1:~# ls -la /etc/unbound/
total 32
drwxr-xr-x  3 root root 4096 Sep 27 06:43 .
drwxr-xr-x 78 root root 4096 Sep 27 06:51 ..
drwxr-xr-x  2 root root 4096 Sep 27 06:24 conf.d
-rw-r--r--  1 root root  327 Sep 27 06:43 unbound.conf
-rw-r-----  1 root root 1277 Sep 27 06:22 unbound_control.key
-rw-r-----  1 root root  802 Sep 27 06:22 unbound_control.pem
-rw-r-----  1 root root 1277 Sep 27 06:22 unbound_server.key
-rw-r-----  1 root root  790 Sep 27 06:22 unbound_server.pem

that's bad, further deploys don't fix it cause they depend on packages that need to be installed.

i will attach a failed deploy log (after the system don't resolve anymore).

micah, assigning to you cause you did most of the unbound work.

(from redmine: created on 2013-09-27, closed on 2013-10-02)