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

    Dnsmasq daemon crashing after 2.2.5 update

    Scheduled Pinned Locked Moved DHCP and DNS
    23 Posts 11 Posters 7.7k 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.
    • C
      cmb
      last edited by

      As soon as dnsmasq releases a new version, it'll make its way to FreeBSD ports and we'll include it. But there isn't anything specific known about the issue, not something I've been able to replicate, so no telling whether or not the next dnsmasq will fix the problem. Or when the next dnsmasq release will happen. That's why I'd like to have someone who's seeing the issue try that 2.75test1 binary. It's unlikely to be any worse in circumstances where it's crashing already. If it's still an issue there, it's something that needs to be pursued with the dnsmasq folks.

      1 Reply Last reply Reply Quote 0
      • P
        Pimmetje
        last edited by

        We used the version posted above for some time and we haven't had any problems with it anymore. Thanks for the help.

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          Pimmetje: thanks for the feedback!

          I think this may be the same as what people are reporting in this bug ticket.

          Hopefully dnsmasq 2.76 will be released soon and we can update it. Otherwise we'll update to a 2.76test version from git for 2.3 release.

          1 Reply Last reply Reply Quote 0
          • A
            aeble
            last edited by

            Hi cmb

            Thanks for supplying a workaround!

            I do however have problems with starting the agent once it's in place, even though I followed your simple steps.

            Do you have any suggestions to what might help me?

            Thanks in advance!

            /aeble

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              @aeble:

              Hi cmb

              Thanks for supplying a workaround!

              I do however have problems with starting the agent once it's in place, even though I followed your simple steps.

              Do you have any suggestions to what might help me?

              There isn't much to it. Make sure you followed all the steps including the 'chmod +x' part. If it fails to start it should log something as to why in either the system log or resolver log, you see anything there?

              1 Reply Last reply Reply Quote 0
              • S
                Simon74
                last edited by

                my DNS service crash daily on pfsense 2.2.6.
                is there a solution ?

                1 Reply Last reply Reply Quote 0
                • D
                  dwhacks
                  last edited by

                  I have the same issue, only for me it happens only when I view a certain website http://www.diyaudio.com. After dnsmasq crashes, no other sites will load except for diyaudio, until i restart it.

                  I tried the workaround and dnsmasq wouldnt start from the GUI so I started it from the command line. I couldn't find any other info in the log except what has already been posted by others.

                  edit: I just tried to reproduce it now after doing the fix and then reverting and it doesnt seem to crash. It crashed every time I went to the site after the update to 2.2.6-RELEASE (i386) before though.

                  1 Reply Last reply Reply Quote 0
                  • P
                    Patryn999
                    last edited by

                    Just for other people:
                    I had this issue also, and using cmb's binary wouldn't start (I suspect due to it being built for a different architecture? I was running i386).

                    What solved it for me:
                    Install pkg (Package manager) and use this to install to 2.76test5 - it's really easy.
                    Restart the dnsmasq daemon so that it runs the new version (check log to see that the correct version started)
                    Problem solved.

                    We used to crash approx every 2 days, and started crashing about every 2 hours before I had to do something about it - now the DNS forwarder has been up for 6 days without issue.

                    1 Reply Last reply Reply Quote 0
                    • N
                      necron
                      last edited by

                      Any progress?
                      2.2.6 dnsmasq is still crashy once every few hours/days (depending on the load).

                      1 Reply Last reply Reply Quote 0
                      • C
                        cmb
                        last edited by

                        @necron:

                        Any progress?

                        There's a fix here for the few that are seeing it, with the dnsmasq 2.76test version. We'll update to dnsmasq 2.76 as soon as it's released, or to a prerelease version if necessary if they're not releasing 2.76 soon enough for our 2.3 release.

                        1 Reply Last reply Reply Quote 0
                        • C
                          Cortexian
                          last edited by

                          @Patryn999:

                          Just for other people:
                          I had this issue also, and using cmb's binary wouldn't start (I suspect due to it being built for a different architecture? I was running i386).

                          What solved it for me:
                          Install pkg (Package manager) and use this to install to 2.76test5 - it's really easy.
                          Restart the dnsmasq daemon so that it runs the new version (check log to see that the correct version started)
                          Problem solved.

                          We used to crash approx every 2 days, and started crashing about every 2 hours before I had to do something about it - now the DNS forwarder has been up for 6 days without issue.

                          Could you explain the steps you took in more detail? I've installed pkg via ssh into my pfSense box, but not sure where to go from there. When I try to get it to list packages it only lists itself as installed…

                          1 Reply Last reply Reply Quote 0
                          • C
                            cmb
                            last edited by

                            @Cortexian:

                            Could you explain the steps you took in more detail? I've installed pkg via ssh into my pfSense box, but not sure where to go from there. When I try to get it to list packages it only lists itself as installed…

                            Just run:

                            pkg install dnsmasq-devel
                            
                            1 Reply Last reply Reply Quote 0
                            • L
                              librarymark
                              last edited by

                              Just a +1 here. Using 2.2.6-RELEASE and DNS forwarder crashes at least once a week, sometimes several times. Just installed  2.76test12 this morning. Will report back after I have confirmed dnsmasq is not crashing anymore.

                              04/13/2016 - dnsmasq still working fine. No crashes.

                              1 Reply Last reply Reply Quote 0
                              • C
                                cmb
                                last edited by

                                The dnsmasq 2.76test version in 2.3 release also fixes the issue here.

                                1 Reply Last reply Reply Quote 0
                                • I
                                  it-marmalade
                                  last edited by

                                  As the author of this post I can now confirm that dnsmasq is behaving nicely in pfsense version 2.3.1.

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