It happens in my 2019 box. when i do nslookup i got this error

I have AD installed in this box and have DNS included. Removing the DNS server is not working in my case.
To fix that issue:
- Go to Control Panel –> Network and Internet –> Network Connections
- select the NIC
- Click Properties
- Click IPv6

- Change to Automatic
- it works !!