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

    Unbound resolver error: Can't assign requested address for 127.0.0.1

    DHCP and DNS
    dns dns resolver unbound configuration config
    5
    40
    6.5k
    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.
    • RonpfSR
      RonpfS
      last edited by

      You can always try to remove pfblocker lists by unticking pfBlockerNG & Keep Settings :

      Note: To clear all downloaded lists, uncheck these two checkboxes and 'Save'. Re-check both boxes and run a 'Force Update|Reload'

      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

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

        @RonpfS Uninstall, and then installed. This happened

        640c1eeb-d451-4313-9a1f-21bb52598302-image.png

        RonpfSR 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          Saw this :

          [ Windows_hosts_block ]		 Downloading update [ 03/26/19 12:04:08 ] .. 404 Not Found
          

          Possible to remove that feed ?
          (or am I to late already ?)

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          RonpfSR T 2 Replies Last reply Reply Quote 0
          • RonpfSR
            RonpfS @themadsalvi
            last edited by

            @themadsalvi So that is the output of a Force Update after Disabling pfblockerng and Save settings,
            Now when you tick both setttings, do a Force Update, then a Force Reload all.

            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
            • RonpfSR
              RonpfS @Gertjan
              last edited by

              @Gertjan said in Unbound resolver error: Can't assign requested address for 127.0.0.1:

              Possible to remove that feed ?

              Well the feed would be empty and would not prevent rebuilding the pfb_dnsbl.conf

              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
              • T
                themadsalvi @Gertjan
                last edited by

                @Gertjan I have started from zero on the pfblocker to try and rule that out.

                @RonpfS That is the output of fully removing and re-installing pfblocker, with the keep settings unticked.

                RonpfSR T 2 Replies Last reply Reply Quote 0
                • RonpfSR
                  RonpfS @themadsalvi
                  last edited by

                  @themadsalvi said in Unbound resolver error: Can't assign requested address for 127.0.0.1:

                  @RonpfS That is the output of fully removing and re-installing pfblocker, with the keep settings unticked.

                  Well let us know what happens when you add a DNSBL table.

                  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

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

                    @RonpfS If I do a force update and force reload with a list or two it does the following:

                    UPDATE PROCESS START [ 03/26/19 14:48:53 ]

                    ===[ DNSBL Process ]================================================

                    [ 1 ] Downloading update .. 200 OK
                    No Domains Found

                    [ shalla ] Downloading update [ 03/26/19 14:49:03 ] .. 200 OK.

                    Orig. Unique # Dups # White # Alexa Final

                    19567 19567 0 0 0 19567

                    DNSBL: Flush DNSBL_IP

                    Assembling database... completed
                    Validating database... Skipped
                    Reloading Unbound... Failed to Reload... Restoring previous database.... Not completed.

                    *** DNSBL update [ 0 ] [ 19567 ] ... OUT OF SYNC ! ***

                    ===[ Continent Process ]============================================

                    ===[ Aliastables / Rules ]==========================================

                    No changes to Firewall rules, skipping Filter Reload
                    No Changes to Aliases, Skipping pfctl Update

                    ===[ FINAL Processing ]=====================================

                    [ Original IP count ] [ 0 ]

                    ===[ DNSBL Domain/IP Counts ] ===================================

                    19567 /var/db/pfblockerng/dnsbl/shalla.txt

                    IPv4 alias tables IP count

                    1

                    IPv6 alias tables IP count

                    0

                    Alias table IP Counts

                       1 /var/db/aliastables/pfB_DNSBLIP.txt
                    

                    pfSense Table Stats

                    table-entries hard limit 400000
                    Table Usage Count 109283

                    UPDATE PROCESS ENDED [ 03/26/19 14:49:07 ]

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

                      @RonpfS @Gertjan @Grimson thank you, and everyone for helping out. I ended up having to re-install pfsense again. I was able to find a config backup that worked, and allowed for unbound resolver to reload correctly. Unbound and DNS resolver is working correctly now. Thank you all so much!

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

                        @RonpfS @Gertjan @Grimson well, it looks like this issue has popped its ugly head once more. This was after a full re-install and upgrade to the newest version of pfsense and pfblockerng-devel. Same error as the one at the top of this topic.


                        Assembling DNSBL database... completed [ 06/14/19 21:09:52 ]
                        Reloading Unbound Resolver..
                        DNSBL enabled FAIL - restoring Unbound conf *** Fix error(s) and a Force Reload required! ***
                        [1560571794] unbound-control[99463:0] error: connect: Can't assign requested address for 127.0.0.1 port 953.... Not completed. [ 06/14/19 21:09:54 ]

                        *** DNSBL update [ 0 ] [ 1509069 ] ... OUT OF SYNC ! ***

                        1 Reply Last reply Reply Quote 0
                        • J
                          jonsy777
                          last edited by jonsy777

                          Hey all.

                          I hate to dig up a long dead thread, but I was wondering if this ever got resolved (other than reinstalling Pfsense and restoring from a working config.

                          Having a similar issue actually on my machine.
                          Little more background: these issues started with an attempted install of a freeRadius package. It was having trouble, giving similar "assigning address" errors (didn't screenshot at the time. apologies). I gave up, thought nothing of it, and removed the freeradius package and then my pfblockerng dns blacklist started giving me trouble. I restored to a config that I knew was working, but that also did not solve the problem. I've tried reinstalling pfblocker, totally deleting the config, and resetting it up, rebooting the whole pfsense box, and continue to get the same error.

                          I still could reinstall pfsense from scratch, and then restore that config file, but have there been any updates?

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