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

    DSNBL error: connect: Can't assign requested address for 127.0.0.1 port 953

    Scheduled Pinned Locked Moved pfBlockerNG
    37 Posts 7 Posters 12.5k 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
      SnowmanUT
      last edited by SnowmanUT

      PfblockerNG is off. Ran DNS Lookup and no response on google or pfsense. I can still go to websites when browsing though, weird.

      0_1549553606883_Google-no resolve.JPG

      Status of DNS Resolver is blank too:
      0_1549553633372_DNS Resolver Status.JPG

      I have OpenVPN setup for access by my phone to my network. I can disable it. Used this video guide to do it on Lawrence Systems / PC Pickup: https://www.youtube.com/watch?v=7rQ-Tgt3L18&t=656s Works fine for when I need access.

      Packages:
      0_1549553946146_Packages.JPG

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        well from that unbound is not running... So how would your clients resolve anything unless they were suing something else for dns..

        Unbound is not working... Get unbound working before you attempt to get pfblocker working.

        Restart unbound - what does the unbound log say. UP the log level in unbound.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

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

          Already have log level at 2, do I need to go higher?

          Looks like it is resolving??

          0_1549558669749_Unbound logs.JPG

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

            Still trying figure this out. Unbound is stopping and starting all the time per the logs. Still have forwarder off and no DNS servers in general setup. Pfblocker is turned off. DNS resolver status blank and dnslookup doesn't resolve anything? Is my boxed just messed up or is there issue with unbound or how do I fix this?

            0_1550078285444_Unbound stopping.JPG

            1 Reply Last reply Reply Quote 0
            • GrimsonG
              Grimson Banned
              last edited by

              https://forum.netgate.com/topic/104772/unbound-restarting
              https://forum.netgate.com/topic/138449/unbound-restarting-more-frequently

              Also if you use the Service Watchdog package make sure it does not monitor unbound.

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

                @BBcan177 fixed my issue which was unrelated to pfblocker. Somehow my Pfsense became corrupted related to the unbound_control.key and unbound_server.pem. He got it to generate new ones that fixed unbound which in turn got Pfblocker working. We are not sure why it happened but he is reporting issues to them. Owe him for sure, great guy.

                T 1 Reply Last reply Reply Quote 0
                • T
                  themadsalvi @SnowmanUT
                  last edited by

                  @SnowmanUT said in DSNBL error: connect: Can't assign requested address for 127.0.0.1 port 953:

                  @BBcan177 fixed my issue which was unrelated to pfblocker. Somehow my Pfsense became corrupted related to the unbound_control.key and unbound_server.pem. He got it to generate new ones that fixed unbound which in turn got Pfblocker working. We are not sure why it happened but he is reporting issues to them. Owe him for sure, great guy.

                  Can you please post how you were able to get it to generate new unbound_control.key and unbound_server.pem? Mine seems to have the same issue, and it doesn't resolve itself when I restore older known working configs.

                  1 Reply Last reply Reply Quote 0
                  • F
                    freebs
                    last edited by

                    lol I have the same thing happening as well..

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

                      @BBcan177 helped me fix it through some remote support. Not sure of the exact commands he ran on the console to fix it. If he sees this post maybe he can provide them.

                      1 Reply Last reply Reply Quote 0
                      • F
                        freebs
                        last edited by

                        Hope he sees it.. I can't figure this out

                        1 Reply Last reply Reply Quote 0
                        • RonpfSR
                          RonpfS
                          last edited by

                          @SnowmanUT said in DSNBL error: connect: Can't assign requested address for 127.0.0.1 port 953:

                          unbound_control.key

                          Guys why don't you use the search "unbound_control.key" feature of the forum ?

                          https://forum.netgate.com/topic/106011/solved-pfblockerng-reloading-unbound-fails/12

                          Basically remove the cert files, restart unbound or reboot.

                          2.4.5-RELEASE-p1 (amd64)
                          Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                          Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            freebs @RonpfS
                            last edited by

                            @RonpfS I did exactly that.. removed keys firstly... didn't work.. renamed /var/unbound to unbound.bak.. restarted same thing.. very stange

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              freebs @freebs
                              last edited by

                              fixed.. would not work on just restarting DNS.. had to reboot the box.

                              RonpfSR 1 Reply Last reply Reply Quote 0
                              • RonpfSR
                                RonpfS @freebs
                                last edited by

                                @freebs
                                Maybe save DNS Resolver settings then Apply settings would do the trick.

                                2.4.5-RELEASE-p1 (amd64)
                                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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