Hi Renaud,
I think the performance is OK now with your suggestions - Thanks
That said, I still see errors in the log file. Those errors however are not easy to decipher to see what is failing..
e.g.
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] debug: tcp error for address 2606:4700:4700::1111 port 853
And
29/06/2020 15:44:36 C:\Program Files\Unbound\unbound.exe[1776:0] debug: request db3pap001.storage.live.com. has exceeded the maximum number of glue fetches 17 to a single delegation point
29/06/2020 15:44:36 C:\Program Files\Unbound\unbound.exe[1776:0] debug: return error response SERVFAIL
And yet this works OK if I have read things correctly:
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] info: sending query: db3pap001.storage.live.com. AAAA IN
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] debug: sending to target: <.> 1.0.0.1#853
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] debug: cache memory msg=78220 rrset=89465 infra=8804 val=71316
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] debug: iterator[module 1] operate: extstate:module_wait_reply event:module_event_reply
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] info: iterator operate: query db3pap001.storage.live.com. A IN
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] info: iterator operate: chased to l-0003.l-msedge.net. A IN
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] info: response for db3pap001.storage.live.com. A IN
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] info: reply from <.> 1.0.0.1#853
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] info: query response was ANSWER
29/06/2020 15:44:35 C:\Program Files\Unbound\unbound.exe[1776:0] info: finishing processing for db3pap001.storage.live.com. A IN
But I also see these:
29/06/2020 15:45:12 C:\Program Files\Unbound\unbound.exe[1776:0] error: SERVFAIL <cid-d42a2173fbacf7ce.users.storage.live.com. A IN>: could not fetch nameservers for 0x20 fallback
29/06/2020 15:45:12 C:\Program Files\Unbound\unbound.exe[1776:0] reply: ::1 cid-d42a2173fbacf7ce.users.storage.live.com. A IN SERVFAIL 0.937464 0 61
And you might expect that queries to here would not fail:
29/06/2020 16:19:25 C:\Program Files\Unbound\unbound.exe[1776:0] info: Capsforid: reply is equal. go to next fallback
29/06/2020 16:19:25 C:\Program Files\Unbound\unbound.exe[1776:0] info: processQueryTargets: www.internic.net. AAAA IN
29/06/2020 16:19:25 C:\Program Files\Unbound\unbound.exe[1776:0] debug: request www.internic.net. has exceeded the maximum number of glue fetches 17 to a single delegation point
29/06/2020 16:19:25 C:\Program Files\Unbound\unbound.exe[1776:0] debug: return error response SERVFAIL
Changing from CloudFlare to Google as the forward server I still get:
29/06/2020 16:24:21 C:\Program Files\Unbound\unbound.exe[9440:0] debug: tcp error for address 8.8.4.4 port 853
29/06/2020 16:24:21 C:\Program Files\Unbound\unbound.exe[9440:0] debug: tcp error for address 8.8.8.8 port 853
BUT
I no longer see 0x20 or glue errors - it would be nice to know what is going on as I cannot see if Unbound is getting it wrong or CloudFlare is not doing what it should.
One last point, I saw a lot of failed attempts at these addresses (both CloudFlare & Google):
29/06/2020 16:25:45 C:\Program Files\Unbound\unbound.exe[9440:0] query: ::1 wpad.home. A IN
29/06/2020 16:25:45 C:\Program Files\Unbound\unbound.exe[9440:0] reply: ::1 wpad.home. A IN NXDOMAIN 0.000000 1 27
29/06/2020 16:25:45 C:\Program Files\Unbound\unbound.exe[9440:0] query: ::1 wpad.home. AAAA IN
29/06/2020 16:25:45 C:\Program Files\Unbound\unbound.exe[9440:0] reply: ::1 wpad.home. AAAA IN NXDOMAIN 0.000000 1 27
There were others like:
ahbgrtoputryz.home.
several random looking sets of characters before the .home. As they always failed either NXDOMAIN or SERVFAIL I added this entry:
local-zone: home always_nxdomain
so now there is no need for Unbound to go any further. I was however unable to ascertain what Windows was trying to do or which process was attempting the lookup. I have no "home" zone in the configuration. I also have no Proxy set up.
Just FYI - The Google are set up completely differently to CloudFlare with interesting results in the spoofabilty test.
If anyone else has ideas on the above...
Thanks
Ray