OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • How to reload unbound using a script?
« previous next »
  • Print
Pages: [1]

Author Topic: How to reload unbound using a script?  (Read 2398 times)

Cubox

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
How to reload unbound using a script?
« on: December 29, 2018, 10:00:38 pm »
Hi,

In a script I'm making for unbound, I would like to reload the daemon, to refresh it's configuration. Since service unbound onestatus tells me that unbound is not running, even when it is, how can I make it be reloaded/restarted without breaking opnsense?

Thanks
Logged

mtn406

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: How to reload unbound using a script?
« Reply #1 on: January 24, 2019, 10:57:48 pm »
Might have a look at this:

https://forum.opnsense.org/index.php?topic=9473
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1172
    • View Profile
Re: How to reload unbound using a script?
« Reply #2 on: January 25, 2019, 11:13:10 pm »
# pluginctl dns reload


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • How to reload unbound using a script?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2