Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Schedule a DNS forwarder restart

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 666 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      syeoma
      last edited by syeoma

      Hi,
      Looking forward to setup a cron job that could restart the DNS forwarder.

      I have already scheduled a job for dhcp relay. not sure though what is the service name for DNS forwarder

      10 0 * /usr/local/sbin/pfSsh.php playback svc restart dhcrelay

      If someone knows about it, Also is there a way to list all the services with pfsense shell

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        It's dnsmasq.

        [2.4.5-DEVELOPMENT][admin@pfsense.fire.box]/root: /usr/local/sbin/pfSsh.php playback svc restart dnsmasq
        Attempting to issue restart to dnsmasq service...
        
        dnsmasq has been restarted.
        

        Steve

        S 1 Reply Last reply Reply Quote 0
        • S
          syeoma @stephenw10
          last edited by

          @stephenw10 Thanks for the quick response.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.