pfSense Support Subscription

Author Topic: Restart DNS ( unbound resolver ) from command line?  (Read 112 times)

0 Members and 1 Guest are viewing this topic.

Offline PfKomrad

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Restart DNS ( unbound resolver ) from command line?
« on: November 24, 2017, 03:15:32 pm »
Is there a way to restart Unbound DNS service from the command line?  I haven't found any commands except a few for clearing cache and looking up fqdn's . Even those do not work->

Code: [Select]
/usr/local/sbin/unbound-control lookup www.amd.com
[1511557802] unbound-control[71885:0] warning: control-enable is 'no' in the config file.

Offline ptt

  • Hero Member
  • *****
  • Posts: 2288
  • Karma: +388/-46
    • View Profile
Re: Restart DNS ( unbound resolver ) from command line?
« Reply #1 on: November 24, 2017, 03:21:29 pm »
Try with:

Code: [Select]

 pfSsh.php playback svc restart unbound