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

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

Scheduled Pinned Locked Moved DHCP and DNS
dnsdns resolverunboundconfigurationconfig
40 Posts 5 Posters 8.5k Views 4 Watching
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.
  • G Offline
    Grimson Banned
    last edited by Mar 26, 2019, 7:10 PM

    What other packages are you using? Bind will conflict with unbound and if you use Service Watchdog make sure it does not monitor unbound.

    1 Reply Last reply Reply Quote 0
    • R Offline
      RonpfS
      last edited by Mar 26, 2019, 7:16 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • R Offline
        RonpfS
        last edited by RonpfS Mar 26, 2019, 7:17 PM Mar 26, 2019, 7:16 PM

        Well ... I have no more clue why it doesn't reload unbound.
        Maybe disable all feeds excepts Ads ?

        What does ls -al /var/unbound look like now ?

        T 1 Reply Last reply Mar 26, 2019, 7:32 PM Reply Quote 0
        • T Offline
          themadsalvi @RonpfS
          last edited by themadsalvi Mar 26, 2019, 7:37 PM Mar 26, 2019, 7:32 PM

          @RonpfS I placed the result of the rebuilt key and pem files, as well as how /var/unbound looks in my last post(out on lunch and on mobile, sorry)

          @Grimson the one thing I find odd is it just started this over the weekend, after a power outage. It has been fine for the last 6 months, without any issue. I do not have bind,and have made sure that unbound is not being monitored by service watchdog. I have the regularly installed packages like pfblockerng-devel, snort, etc.

          Screenshot_20190326-123300__01.jpg
          Screenshot_20190326-123308__01.jpg

          G 1 Reply Last reply Mar 26, 2019, 7:39 PM Reply Quote 0
          • G Offline
            Grimson Banned @themadsalvi
            last edited by Mar 26, 2019, 7:39 PM

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

            @Grimson the one thing I find odd is it just started this over the weekend, after a power outage.

            So did you run fsck on the filesystem? https://docs.netgate.com/pfsense/en/latest/hardware/troubleshooting-disk-check-errors-fsck.html#manually-run-fsck

            I have the regularly installed packages like pfblockerng-devel, snort, etc.

            There are no regularly installed packages, a regular install comes without additional packages. So always mention the packages you are using when asking for help.

            If following the above to check the filesystem doesn't work grab a config backup and do a fresh install to make sure the installation is in a good state.

            T 1 Reply Last reply Mar 26, 2019, 7:50 PM Reply Quote 0
            • T Offline
              themadsalvi @Grimson
              last edited by Mar 26, 2019, 7:50 PM

              @Grimson iplaced some screenshots from my mobile in my previouspost. Fsck says that /dev/zroot/ROOT cannot be opened since there is no file or directory present

              G 1 Reply Last reply Mar 26, 2019, 7:55 PM Reply Quote 0
              • G Offline
                Grimson Banned @themadsalvi
                last edited by Mar 26, 2019, 7:55 PM

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

                @Grimson iplaced some screenshots from my mobile in my previouspost. Fsck says that /dev/zroot/ROOT cannot be opened since there is no file or directory present

                https://www.freebsd.org/doc/handbook/zfs-zpool.html#zfs-zpool-status
                https://www.freebsd.org/doc/handbook/zfs-zpool.html#zfs-zpool-scrub

                T 1 Reply Last reply Mar 26, 2019, 8:04 PM Reply Quote 0
                • T Offline
                  themadsalvi @Grimson
                  last edited by Mar 26, 2019, 8:04 PM

                  @Grimson
                  0dc2224a-ee6b-455c-abea-fef25d114303-image.png

                  It looks like it found no errors in the pool. I even ran the scrub with no errors found.

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Grimson Banned
                    last edited by Mar 26, 2019, 8:11 PM

                    To be honest, from what I can see your installation is a mess. For example you have both snort and suricata installed. Best suggestion is for you to document what you are currently using (and what not). Then start with a fresh clean install, don't restore the config do the setup bit by bit yourself and watch where it breaks.

                    T 1 Reply Last reply Mar 26, 2019, 8:22 PM Reply Quote 0
                    • T Offline
                      themadsalvi @Grimson
                      last edited by Mar 26, 2019, 8:22 PM

                      @Grimson I will have to do that when I get home. I guess I have been lucky in that it has worked flawlessly for the last 6 months(SInce I installed it). It was bound to break eventually. Strangely, I can still surf the internet fine(I am writing from the network that has Pfsense firewall), and use streaming services like netflix.

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        RonpfS
                        last edited by Mar 26, 2019, 8:28 PM

                        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'

                        T 1 Reply Last reply Mar 26, 2019, 8:50 PM Reply Quote 0
                        • T Offline
                          themadsalvi @RonpfS
                          last edited by Mar 26, 2019, 8:50 PM

                          @RonpfS Uninstall, and then installed. This happened

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

                          R 1 Reply Last reply Mar 26, 2019, 9:31 PM Reply Quote 0
                          • G Offline
                            Gertjan
                            last edited by Mar 26, 2019, 9:18 PM

                            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 ??

                            R T 2 Replies Last reply Mar 26, 2019, 9:32 PM Reply Quote 0
                            • R Offline
                              RonpfS @themadsalvi
                              last edited by Mar 26, 2019, 9:31 PM

                              @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.

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                RonpfS @Gertjan
                                last edited by Mar 26, 2019, 9:32 PM

                                @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

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  themadsalvi @Gertjan
                                  last edited by Mar 26, 2019, 9:42 PM

                                  @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.

                                  R T 2 Replies Last reply Mar 26, 2019, 9:45 PM Reply Quote 0
                                  • R Offline
                                    RonpfS @themadsalvi
                                    last edited by Mar 26, 2019, 9:45 PM

                                    @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.

                                    T 1 Reply Last reply Mar 27, 2019, 3:28 AM Reply Quote 0
                                    • T Offline
                                      themadsalvi @themadsalvi
                                      last edited by Mar 26, 2019, 9:49 PM

                                      @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 Offline
                                        themadsalvi @RonpfS
                                        last edited by Mar 27, 2019, 3:28 AM

                                        @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 Jun 15, 2019, 4:15 AM Reply Quote 1
                                        • T Offline
                                          themadsalvi @themadsalvi
                                          last edited by Jun 15, 2019, 4:15 AM

                                          @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
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]