dns resolver - unbound



  • After I upgraded to 2.4.3 unbound stopped working. I've upgraded to 2.4.4 since but the issue persists.

    Version 2.4.4-RELEASE-p2 (arm)
    built on Wed Dec 12 14:40:29 EST 2018
    FreeBSD 11.2-RELEASE-p6

    When i try and start unbound the following happens.
    The following input errors were detected:

    The generated config file cannot be parsed by unbound. Please correct the following errors:
    /usr/local/lib/libpython2.7.so.1: unsupported file layout

    Below are the involved library files.
    /usr/local/lib: ls -lah|grep python
    -rw-r--r-- 1 root wheel 54K Oct 3 06:03 .libpython2.7.so.1-gdb.py.pR2774s34cMN
    -rw-r--r-- 1 root wheel 1.6M Oct 3 06:02 .libpython2.7.so.1.RCQFTgPFRLn6
    lrwxr-xr-x 1 root wheel 17B Oct 3 06:02 .libpython2.7.so.tYm3wvvdOyvF -> libpython2.7.so.1
    lrwxr-xr-x 1 root wheel 17B Jan 12 14:30 libpython2.7.so -> libpython2.7.so.1
    -rw-r--r-- 1 root wheel 1.8M Jan 12 14:19 libpython2.7.so.1
    -rw-r--r-- 1 root wheel 54K Jan 12 14:19 libpython2.7.so.1-gdb.py
    drwxr-xr-x 28 root wheel 36K Dec 5 20:14 python2.7

    The corresponding configuration files
    /var/unbound: ls -lah
    total 56
    drwxr-xr-x 4 unbound unbound 512B Jan 12 15:56 .
    drwxr-xr-x 26 root wheel 512B Dec 12 14:42 ..
    -rw-r--r-- 1 root unbound 177B Jan 12 15:33 access_lists.conf
    drwxr-xr-x 2 unbound unbound 512B Dec 12 14:42 conf.d
    -rw-r--r-- 1 root unbound 0B Jan 12 15:34 dhcpleases_entries.conf
    -rw-r--r-- 1 root unbound 0B Jan 12 15:33 domainoverrides.conf
    -rw-r--r-- 1 root unbound 398B Jan 12 15:34 host_entries.conf
    -rw-r--r-- 1 root unbound 300B Dec 12 2017 remotecontrol.conf
    -rw-r--r-- 1 unbound unbound 1.2K Dec 5 08:33 root.key
    -rw-r--r-- 1 unbound unbound 1.2K Apr 23 2018 root.key.14680-0
    drwxr-xr-x 2 unbound unbound 512B Jan 12 15:57 test
    -rw-r--r-- 1 root unbound 1.8K Jan 12 15:33 unbound.conf
    -rw-r----- 1 unbound unbound 2.4K Dec 12 2017 unbound_control.key
    -rw-r----- 1 unbound unbound 1.3K Dec 12 2017 unbound_control.pem
    -rw-r----- 1 unbound unbound 2.4K Dec 12 2017 unbound_server.key
    -rw-r----- 1 unbound unbound 1.3K Dec 12 2017 unbound_server.pem

    Is there any way to get unbound working again.

    Thanks,



  • @doblezero said in dns resolver - unbound:

    what is the content of unbound.conf ?



  • Thanks for the reply. The unbound.conf file contents is attached.
    0_1547331973379_unbound.txt



  • @doblezero said in dns resolver - unbound:

    -rw-r--r-- 1 root wheel 54K Oct 3 06:03 .libpython2.7.so.1-gdb.py.pR2774s34cMN
    -rw-r--r-- 1 root wheel 1.6M Oct 3 06:02 .libpython2.7.so.1.RCQFTgPFRLn6
    lrwxr-xr-x 1 root wheel 17B Oct 3 06:02 .libpython2.7.so.tYm3wvvdOyvF -> libpython2.7.so.1

    Looks no good to me.

    It should be

    [2.4.4-RELEASE][admin@pfsense.brit-hotel-fumel.net]/usr/local/lib: ls -lah | grep python
    lrwxr-xr-x   1 root  wheel    17B Sep  5 01:54 libpython2.7.so -> libpython2.7.so.1
    -rw-r--r--   1 root  wheel   1.8M Sep  5 01:54 libpython2.7.so.1
    -rw-r--r--   1 root  wheel    54K Sep  5 01:56 libpython2.7.so.1-gdb.py
    drwxr-xr-x  28 root  wheel    36K Sep 21 14:57 python2.7
    

    Re install.



  • Thanks for the reply Gertjan.

    I'm guessing the ".libpython2.7.so.1-gdb.py.pR2774s34cMN, .libpython2.7.so.1.RCQFTgPFRLn6, and .libpython2.7.so.tYm3wvvdOyvF -> libpython2.7.so.1" files are remains from the 2.4.2 to 2.4.3 upgrade that led to the loss of unbound functionality.

    My unit is a Netgate SG-1000. I was really trying to avoid re-flashing to get full functionality back.

    I'll attempt to reinstall once I get an OTG cable and report back.