Unbound-control - fatal error: could not read config file



  • To determine the name servers that will be queried to lookup a zone:
    unbound-control lookup "name"

    [1422439852] unbound-control[39206:0] error: Could not open /usr/local/etc/unbound/unbound.conf: No such file or directory
    [1422439852] unbound-control[39206:0] fatal error: could not read config file

    i386 full install



  • Config file is located in /var/unbound/ so use the -c switch