OPNsense Forum

English Forums => General Discussion => Topic started by: Inxsible on March 17, 2021, 04:43:15 pm

Title: Unbound --- fatal error: Could not set up local zones
Post by: Inxsible on March 17, 2021, 04:43:15 pm
I set up a cron job last night for auto updating the Unbound DNSBLs but did not set any parameters (should I have?)

Cut to 8AM -- time for a work meeting and I find out that I don't have internet access. I try to get to my firewall using the host name and I cannot. Then I just use the IP and I get in to find out that Unbound is not running. Clicked start a few times but no luck. Rebooted the firewall -- still the same.

I checked the logs and I see that it was running fine until 6AM -- the time set for the auto update of Unbound DNSBLs. Here's the log from a little before 6AM onwards.

Code: [Select]
2021-03-17T08:35:50 unbound[67148] [67148:0] fatal error: Could not set up local zones
2021-03-17T08:35:50 unbound[67148] [67148:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:35:50 unbound[67148] [67148:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:26:37 unbound[70411] blacklist download done in 219.86 seconds (3167171 records)
2021-03-17T08:26:30 unbound[70411] blacklist download https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt (lines: 368 exclude: 0 black: 357
2021-03-17T08:26:30 unbound[70411] blacklist download https://phishing.army/download/phishing_army_blocklist_extended.txt (lines: 24673 exclude: 0 black: 24661
2021-03-17T08:26:29 unbound[70411] blacklist download https://osint.digitalside.it/Threat-Intel/lists/latestdomains.txt (lines: 254 exclude: 0 black: 243
2021-03-17T08:26:26 unbound[70411] blacklist download https://raw.githubusercontent.com/matomo-org/referrer-spam-blacklist/master/spammers.txt (lines: 2053 exclude: 0 black: 2053
2021-03-17T08:26:26 unbound[70411] blacklist download http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext (lines: 3575 exclude: 0 black: 3561
2021-03-17T08:26:25 unbound[70411] blacklist download https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/extra.txt (lines: 254 exclude: 0 black: 248
2021-03-17T08:26:25 unbound[70411] blacklist download https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/update.txt (lines: 538 exclude: 0 black: 532
2021-03-17T08:26:24 unbound[70411] blacklist download https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt (lines: 382 exclude: 0 black: 376
2021-03-17T08:26:24 unbound[70411] blacklist download https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts (lines: 73832 exclude: 5 black: 67412
2021-03-17T08:26:23 unbound[70411] blacklist download https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt (lines: 38 exclude: 0 black: 34
2021-03-17T08:26:23 unbound[70411] blacklist download https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt (lines: 2705 exclude: 0 black: 2701
2021-03-17T08:26:23 unbound[70411] blacklist download https://raw.githubusercontent.com/chadmayfield/pihole-blocklists/master/lists/pi_blocklist_porn_top1m.list (lines: 11868 exclude: 0 black: 11868
2021-03-17T08:26:22 unbound[70411] blacklist download https://justdomains.github.io/blocklists/lists/nocoin-justdomains.txt (lines: 689 exclude: 0 black: 689
2021-03-17T08:26:22 unbound[70411] blacklist download https://justdomains.github.io/blocklists/lists/easyprivacy-justdomains.txt (lines: 11087 exclude: 0 black: 11087
2021-03-17T08:26:22 unbound[70411] blacklist download https://justdomains.github.io/blocklists/lists/easylist-justdomains.txt (lines: 16657 exclude: 0 black: 16657
2021-03-17T08:26:22 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/youtube.txt (lines: 24295 exclude: 0 black: 24280
2021-03-17T08:26:22 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/youtube.txt (lines: 24295 exclude: 0 black: 24280
2021-03-17T08:26:21 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/tracking.txt (lines: 15083 exclude: 0 black: 15057
2021-03-17T08:26:21 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/torrent.txt (lines: 2204 exclude: 0 black: 2187
2021-03-17T08:26:21 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/tiktok.txt (lines: 38 exclude: 0 black: 23
2021-03-17T08:26:21 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/scam.txt (lines: 1191 exclude: 0 black: 1176
2021-03-17T08:26:11 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/redirect.txt (lines: 108661 exclude: 1 black: 108644
2021-03-17T08:25:59 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/ransomware.txt (lines: 1918 exclude: 0 black: 1903
2021-03-17T08:25:49 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/porn.txt (lines: 1906837 exclude: 0 black: 1906820
2021-03-17T08:25:18 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/piracy.txt (lines: 2143 exclude: 0 black: 2128
2021-03-17T08:25:07 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/phishing.txt (lines: 189988 exclude: 0 black: 189956
2021-03-17T08:24:55 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/malware.txt (lines: 456347 exclude: 1 black: 456265
2021-03-17T08:24:40 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/gambling.txt (lines: 2353 exclude: 0 black: 2338
2021-03-17T08:24:30 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/facebook.txt (lines: 22477 exclude: 0 black: 22461
2021-03-17T08:24:19 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/fraud.txt (lines: 196047 exclude: 0 black: 196026
2021-03-17T08:24:07 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/drugs.txt (lines: 26605 exclude: 0 black: 26590
2021-03-17T08:24:02 unbound[16212] [16212:0] fatal error: Could not set up local zones
2021-03-17T08:24:02 unbound[16212] [16212:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:24:02 unbound[16212] [16212:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:23:57 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/crypto.txt (lines: 23813 exclude: 0 black: 23779
2021-03-17T08:23:46 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/ads.txt (lines: 154715 exclude: 1 black: 154612
2021-03-17T08:23:34 unbound[70411] blacklist download https://blocklistproject.github.io/Lists/abuse.txt (lines: 455123 exclude: 1 black: 455045
2021-03-17T08:23:19 unbound[70411] blacklist download https://justdomains.github.io/blocklists/lists/adguarddns-justdomains.txt (lines: 37377 exclude: 0 black: 37377
2021-03-17T08:23:08 unbound[70411] blacklist download https://adaway.org/hosts.txt (lines: 12854 exclude: 2 black: 8677
2021-03-17T08:22:57 unbound[70411] blacklist download : exclude domains matching nordvpn.com|.*localhost$|^(?![a-zA-Z\d]).*
2021-03-17T08:20:33 unbound[85818] [85818:0] fatal error: Could not set up local zones
2021-03-17T08:20:33 unbound[85818] [85818:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:20:33 unbound[85818] [85818:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:20:13 unbound[73962] [73962:0] fatal error: Could not set up local zones
2021-03-17T08:20:13 unbound[73962] [73962:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:20:13 unbound[73962] [73962:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:19:29 unbound[42707] [42707:0] fatal error: Could not set up local zones
2021-03-17T08:19:29 unbound[42707] [42707:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:19:29 unbound[42707] [42707:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:16:45 unbound[37842] [37842:0] fatal error: Could not set up local zones
2021-03-17T08:16:45 unbound[37842] [37842:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:16:45 unbound[37842] [37842:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:16:22 unbound[68453] [68453:0] fatal error: Could not set up local zones
2021-03-17T08:16:22 unbound[68453] [68453:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:16:22 unbound[68453] [68453:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:15:53 unbound[50217] [50217:0] fatal error: Could not set up local zones
2021-03-17T08:15:53 unbound[50217] [50217:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:15:53 unbound[50217] [50217:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:12:10 unbound[65526] [65526:0] fatal error: Could not set up local zones
2021-03-17T08:12:10 unbound[65526] [65526:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:12:10 unbound[65526] [65526:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:06:54 unbound[51151] [51151:0] fatal error: Could not set up local zones
2021-03-17T08:06:54 unbound[51151] [51151:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:06:54 unbound[51151] [51151:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:05:41 unbound[52358] [52358:0] fatal error: Could not set up local zones
2021-03-17T08:05:41 unbound[52358] [52358:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:05:41 unbound[52358] [52358:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:05:32 unbound[74165] [74165:0] fatal error: Could not set up local zones
2021-03-17T08:05:32 unbound[74165] [74165:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:05:32 unbound[74165] [74165:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:04:03 unbound[94369] [94369:0] fatal error: Could not set up local zones
2021-03-17T08:04:03 unbound[94369] [94369:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:04:03 unbound[94369] [94369:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:01:50 unbound[7195] [7195:0] fatal error: Could not set up local zones
2021-03-17T08:01:50 unbound[7195] [7195:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:01:50 unbound[7195] [7195:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T08:00:14 unbound[88755] [88755:0] fatal error: Could not set up local zones
2021-03-17T08:00:14 unbound[88755] [88755:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T08:00:14 unbound[88755] [88755:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T07:59:31 unbound[35216] [35216:0] fatal error: Could not set up local zones
2021-03-17T07:59:31 unbound[35216] [35216:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T07:59:31 unbound[35216] [35216:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T06:01:09 unbound[86390] [86390:0] fatal error: Could not set up local zones
2021-03-17T06:01:09 unbound[86390] [86390:0] error: Bad local-data RR clinicatraña.com A 0.0.0.0
2021-03-17T06:01:09 unbound[86390] [86390:0] error: error parsing local-data at 33 'clinicatraña.com A 0.0.0.0': Syntax error, could not parse the RR's TTL
2021-03-17T06:01:06 unbound[86390] [86390:0] notice: Restart of unbound 1.13.1.
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 32.000000 64.000000 5
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 4.000000 8.000000 1
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 2.000000 4.000000 6
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 1.000000 2.000000 11
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.524288 1.000000 53
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.262144 0.524288 200
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.131072 0.262144 782
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.065536 0.131072 1362
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.032768 0.065536 1322
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.016384 0.032768 1020
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.008192 0.016384 169
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.004096 0.008192 51
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.002048 0.004096 32
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.001024 0.002048 18
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.000512 0.001024 5
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.000256 0.000512 3
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.000128 0.000256 2
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.000064 0.000128 1
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.000032 0.000064 1
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.000000 0.000001 94
2021-03-17T06:01:06 unbound[86390] [86390:0] info: lower(secs) upper(secs) recursions
2021-03-17T06:01:06 unbound[86390] [86390:0] info: [25%]=0.030977 median[50%]=0.0618428 [75%]=0.120173
2021-03-17T06:01:06 unbound[86390] [86390:0] info: histogram of recursion processing times
2021-03-17T06:01:06 unbound[86390] [86390:0] info: average recursion processing time 0.142660 sec
2021-03-17T06:01:06 unbound[86390] [86390:0] info: server stats for thread 1: requestlist max 28 avg 0.751369 exceeded 0 jostled 0
2021-03-17T06:01:06 unbound[86390] [86390:0] info: server stats for thread 1: 21594 queries, 16456 answers from cache, 5138 recursions, 525 prefetch, 0 rejected by ip ratelimiting
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 8.000000 16.000000 1
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 4.000000 8.000000 1
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 2.000000 4.000000 10
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 1.000000 2.000000 11
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.524288 1.000000 45
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.262144 0.524288 203
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.131072 0.262144 1097
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.065536 0.131072 1732
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.032768 0.065536 1655
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.016384 0.032768 1374
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.008192 0.016384 626
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.004096 0.008192 29
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.002048 0.004096 18
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.001024 0.002048 14
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.000512 0.001024 6
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.000256 0.000512 3
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.000128 0.000256 4
2021-03-17T06:01:06 unbound[86390] [86390:0] info: 0.000000 0.000001 92
2021-03-17T06:01:06 unbound[86390] [86390:0] info: lower(secs) upper(secs) recursions
2021-03-17T06:01:06 unbound[86390] [86390:0] info: [25%]=0.027572 median[50%]=0.0583983 [75%]=0.117365
2021-03-17T06:01:06 unbound[86390] [86390:0] info: histogram of recursion processing times
2021-03-17T06:01:06 unbound[86390] [86390:0] info: average recursion processing time 0.095083 sec
2021-03-17T06:01:06 unbound[86390] [86390:0] info: server stats for thread 0: requestlist max 23 avg 0.573792 exceeded 0 jostled 0
2021-03-17T06:01:06 unbound[86390] [86390:0] info: server stats for thread 0: 23701 queries, 16780 answers from cache, 6921 recursions, 573 prefetch, 0 rejected by ip ratelimiting
2021-03-17T06:01:03 unbound[86390] [86390:0] info: service stopped (unbound 1.13.1).
2021-03-17T06:00:56 unbound[93084] blacklist download done in 55.49 seconds (3167151 records)
2021-03-17T06:00:48 unbound[93084] blacklist download https://gitlab.com/quidsup/notrack-blocklists/raw/master/notrack-malware.txt (lines: 368 exclude: 0 black: 357
2021-03-17T06:00:48 unbound[93084] blacklist download https://phishing.army/download/phishing_army_blocklist_extended.txt (lines: 24673 exclude: 0 black: 24661
2021-03-17T06:00:48 unbound[93084] blacklist download https://osint.digitalside.it/Threat-Intel/lists/latestdomains.txt (lines: 254 exclude: 0 black: 243
2021-03-17T06:00:47 unbound[93084] blacklist download https://raw.githubusercontent.com/matomo-org/referrer-spam-blacklist/master/spammers.txt (lines: 2053 exclude: 0 black: 2053
2021-03-17T06:00:47 unbound[93084] blacklist download http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext (lines: 3575 exclude: 0 black: 3561
2021-03-17T06:00:46 unbound[93084] blacklist download https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/extra.txt (lines: 254 exclude: 0 black: 248
2021-03-17T06:00:46 unbound[93084] blacklist download https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/update.txt (lines: 538 exclude: 0 black: 532
2021-03-17T06:00:46 unbound[93084] blacklist download https://raw.githubusercontent.com/crazy-max/WindowsSpyBlocker/master/data/hosts/spy.txt (lines: 382 exclude: 0 black: 376
2021-03-17T06:00:46 unbound[93084] blacklist download https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts (lines: 73832 exclude: 5 black: 67412
2021-03-17T06:00:45 unbound[93084] blacklist download https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt (lines: 38 exclude: 0 black: 34
2021-03-17T06:00:44 unbound[93084] blacklist download https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt (lines: 2705 exclude: 0 black: 2701
2021-03-17T06:00:44 unbound[93084] blacklist download https://raw.githubusercontent.com/chadmayfield/pihole-blocklists/master/lists/pi_blocklist_porn_top1m.list (lines: 11868 exclude: 0 black: 11868
2021-03-17T06:00:43 unbound[93084] blacklist download https://justdomains.github.io/blocklists/lists/nocoin-justdomains.txt (lines: 689 exclude: 0 black: 689
2021-03-17T06:00:43 unbound[93084] blacklist download https://justdomains.github.io/blocklists/lists/easyprivacy-justdomains.txt (lines: 11072 exclude: 0 black: 11072
2021-03-17T06:00:43 unbound[93084] blacklist download https://justdomains.github.io/blocklists/lists/easylist-justdomains.txt (lines: 16651 exclude: 0 black: 16651
2021-03-17T06:00:43 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/youtube.txt (lines: 24295 exclude: 0 black: 24280
2021-03-17T06:00:42 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/tracking.txt (lines: 15083 exclude: 0 black: 15057
2021-03-17T06:00:42 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/torrent.txt (lines: 2204 exclude: 0 black: 2187
2021-03-17T06:00:42 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/tiktok.txt (lines: 38 exclude: 0 black: 23
2021-03-17T06:00:42 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/scam.txt (lines: 1191 exclude: 0 black: 1176
2021-03-17T06:00:42 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/redirect.txt (lines: 108661 exclude: 1 black: 108644
2021-03-17T06:00:40 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/ransomware.txt (lines: 1918 exclude: 0 black: 1903
2021-03-17T06:00:40 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/porn.txt (lines: 1906837 exclude: 0 black: 1906820
2021-03-17T06:00:20 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/piracy.txt (lines: 2143 exclude: 0 black: 2128
2021-03-17T06:00:20 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/phishing.txt (lines: 189988 exclude: 0 black: 189956
2021-03-17T06:00:17 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/malware.txt (lines: 456347 exclude: 1 black: 456265
2021-03-17T06:00:12 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/gambling.txt (lines: 2353 exclude: 0 black: 2338
2021-03-17T06:00:12 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/facebook.txt (lines: 22477 exclude: 0 black: 22461
2021-03-17T06:00:12 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/fraud.txt (lines: 196047 exclude: 0 black: 196026
2021-03-17T06:00:09 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/drugs.txt (lines: 26605 exclude: 0 black: 26590
2021-03-17T06:00:09 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/crypto.txt (lines: 23813 exclude: 0 black: 23779
2021-03-17T06:00:09 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/ads.txt (lines: 154715 exclude: 1 black: 154612
2021-03-17T06:00:07 unbound[93084] blacklist download https://blocklistproject.github.io/Lists/abuse.txt (lines: 455123 exclude: 1 black: 455045
2021-03-17T06:00:02 unbound[93084] blacklist download https://justdomains.github.io/blocklists/lists/adguarddns-justdomains.txt (lines: 37362 exclude: 0 black: 37362
2021-03-17T06:00:01 unbound[93084] blacklist download https://adaway.org/hosts.txt (lines: 12854 exclude: 2 black: 8677
2021-03-17T06:00:00 unbound[93084] blacklist download : exclude domains matching ^(?![a-zA-Z\d]).*|.*localhost$|nordvpn.com
2021-03-16T22:03:29 unbound[86390] [86390:0] info: generate keytag query _ta-4f66. NULL IN
2021-03-16T11:14:44 unbound[86390] [86390:0] info: generate keytag query _ta-4f66. NULL IN

The re-download of the blacklists at 8:24 AM is because I disabled Unbound and enabled DNSMasq and then switched back to Unbound again. But even that didn't work

As of right now, I have DNSMasq enabled, so I have internet access but I cannot access any of my internal services (nextcloud etc) using the host names -- even though the DNSMasq logs indicate that it is reading 26 addresses from the /var/etc/dnsmasq-hosts
Code: [Select]
2021-03-17T11:03:20 dnsmasq[4489] read /etc/hosts - 2 addresses
2021-03-17T11:03:20 dnsmasq[4489] read /var/etc/dnsmasq-hosts - 26 addresses
2021-03-17T11:03:20 dnsmasq[4489] read /etc/hosts - 2 addresses
2021-03-17T11:02:02 dnsmasq[4489] read /var/etc/dnsmasq-hosts - 26 addresses


I have already tried to start Unbound & rebooted the firewall without any luck. I have also ssh'ed into the firewall, but any command I try for unbound using
Code: [Select]
unbound-control reload/start/status/flush_bogus etc simply results in a timeout because the unbound service just doesn't start up.

Thank you for your time...
Title: Re: Unbound --- fatal error: Could not set up local zones
Post by: Inxsible on March 18, 2021, 06:49:23 am
I also tried updating from 21.1.2 --> 21.1.3_3. The update went fine, but after the reboot, I disabled DNSMasq and tried enabling Unbound, but it still does not want to start up

Please help....
Title: Re: Unbound --- fatal error: Could not set up local zones
Post by: hushcoden on March 18, 2021, 08:27:57 am
I've got a smiliar issue - https://forum.opnsense.org/index.php?topic=22092.0

Will try this weekend what @Fright suggested.
Title: Re: Unbound --- fatal error: Could not set up local zones
Post by: Inxsible on March 18, 2021, 03:23:53 pm
I've got a smiliar issue - https://forum.opnsense.org/index.php?topic=22092.0

Will try this weekend what @Fright suggested.
Thanks @hushcoden, it was a blocklist issue. I removed all blocklists and Unbound starts up. I will now try to set 1 at a time to see which blocklist is problematic.

Will update this thread....
Title: Re: Unbound --- fatal error: Could not set up local zones
Post by: Inxsible on March 18, 2021, 03:48:57 pm
I disabled all the built-in blocklists and started Unbound and that worked. I have 4 additional blocklists. Then I enabled the built-in lists one after the other, and reloaded Unbound. Each time, it started up just fine. I now have all the blocklists enabled just the way I had it before Unbound crashed.

I guess, due to my cron job, it updated the blocklists and either


Title: Re: Unbound --- fatal error: Could not set up local zones
Post by: hushcoden on March 18, 2021, 06:24:03 pm
Yes, by deselecting the blacklists Unbound now works...