I've disabled DNS recursion in my DNS server (Operating System: Windows server core 2019) using this method how-to-disable-recursion-on-a-windows-dns-server, Also I've executed this commands in my DNS server PowerShell
Set-DnsServerRecursion -Enable $False
Clear-DnsServerCache
But still when I run
nslookup 'some random domain' 'My dns server IP Address'
in my PC, It answers like this:
Non-authoritative answer:
Name: some domain name
Address: IP address
But actually it should be *** UnKnown can't find some domain name: Query refused
I've removed all root hints, even I've removed C:\Windows\System32\dns\cache.dns.
What's I'm doing wrong? Any help?