# Pihole seems to be redirecting all local DNS to the internet

**URL:** <https://discourse.pi-hole.net/t/pihole-seems-to-be-redirecting-all-local-dns-to-the-internet/68934>\
**Category:** Help\
**Created:** [March 12, 2024, 9:54pm UTC](https://discourse.pi-hole.net/t/pihole-seems-to-be-redirecting-all-local-dns-to-the-internet/68934 "2024-03-12T21:54:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jfb](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jfb/32/4332_2.png) [@jfb](https://discourse.pi-hole.net/u/jfb)\
**Post date:** [March 12, 2024, 10:42pm UTC](https://discourse.pi-hole.net/t/pihole-seems-to-be-redirecting-all-local-dns-to-the-internet/68934/4 "2024-03-12T22:42:12Z")

</div>

An [HTTPS] query is a non-standard query, and isn't yet supported in the RFC's (documents that govern internet protocols). This is discussed in the link I provided. The answer to [HTTPS] queries at this point in time will always be NXDOMAIN (the domain does not exist on the internet)/

Your Pi-hole can answer [A] or [AAAA] queries for local domains, if it knows the names of the domains which match particular IP's.

Here is a brief description of the various sources (and the order in which they are used) for Pi-hole to provide a local domain name:

> [@Custom DNS - Observations](https://discourse.pi-hole.net/t/custom-dns-observations/27533/17):
>
> Love this new feature/functionality adding all my devices under .lan - smooth! As for the name....I figured it out so "Custom" is OK, possibly "User DNS config", "Local DNS config" or "DNS Override" (assuming this functionality takes priority?)

As an example, on my Pi I have all my regular network clients mapped in a hosts file. I can ask Pi-hole for the name or IP of a client, and it will look in the hosts file and provide it.

```auto
nanopi-neo:~:# nslookup printer
Server: 127.0.0.1
Address:	127.0.0.1#53

Name:	printer
Address: 192.168.0.4

nanopi-neo:~:# nslookup 192.168.0.4
4.0.168.192.in-addr.arpa	name = Printer.

```

---

_[View the full topic](https://discourse.pi-hole.net/t/pihole-seems-to-be-redirecting-all-local-dns-to-the-internet/68934)._
