Can not resolve localhost on local Computer

Please follow the below template, it will help us to help you!

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

[When i do nslookup/dig it should work on localhost]

Actual Behaviour:

_[nslookup on windows gives the following result:

nslookup localhost
Server: raspberrypi
Address: fd51:42f8:caae:d92e::ff

*** raspberrypi can't find localhost: Non-existent domain
]_

Debug Token:

[https://tricorder.pi-hole.net/8ypsxbjje6]

Closing as duplicate of