I would like to ask for help. I have Windows Server 2016 with the DNS server installed. That server is a DC too. The server works like a recursive DNS server for the network and has DNSSEC validation enabled. This server has public IPv4 and public routable IPv6 address. Problem is, that DNSSEC validation takes incredibly long time. Most of the websites server can not resolve at first. Dig is returning to SERVFAIL and nslookup gives me:
*** UnKnown can not find website.com: Server failed
When I'm trying to resolve that hostname and get to the website, it suddenly starts working. It takes approx. 5 minutes. After that, the website is reachable.
I think, that most likely DNSSEC validation takes too long time. When I'm looking into the servers cache, there are some records for that particular domain from the begining of the lookup, but not all. I think, that last RR Signature (RRSIG) appears there after really long time and when it's finally there, lookup is finished and I can view that website.
When I initiate DNS lookup, I can see this in the DNS cache:
When the translation is complete after few minutes, i can see this:
Could someone help me please? Any help would be appreciated.. Thank you.
EDIT:
I have problems especially with these websites:
standardkonektivity.cz, dnssec.cz, nic.cz, mojeid.cz, turris.cz, jaknainternet.cz, domenovyprohlizec.cz, jaknainternet.cz which all are on few of these nameservers: a.ns.nic.cz, b.ns.nic.cz, c.ns.nic.cz, d.ns.nic.cz.
Issue appears on all installations of the Windows Server 2016. It looks like Windows Server 2016 issue. I have no problems with the same config on the Windows Server 2012 R2
I tried multiple internet connections, so it shouldn't be a fw/gw issue.
I have no problems with domains without DNSSEC
Problem persists when IPv6 is disabled.
Network configuration should be ok. I have tested this on multiple systems with different configurations
Clock is ok on the server.
It is DNSSEC issue. When i disable dnssec on the server, everything is ok. Strange is, that when I use +cd flag with dnssec enabled on the server, resolution fails too.
btw.. There is a time gap between making and posting those screenshots
dig +trace flag behaves strangely. Once it retrieved "dig: couldn't get address for 'a.ns.nic.cz': no more" and now it stopped working and it retrieves nothing.