# Custom DNS - Observations

**URL:** <https://discourse.pi-hole.net/t/custom-dns-observations/27533>\
**Category:** Beta 5.0\
**Created:** [January 27, 2020, 3:51pm UTC](https://discourse.pi-hole.net/t/custom-dns-observations/27533 "2020-01-27T15:51:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![deHakkelaar](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dehakkelaar/32/674_2.png) [@deHakkelaar](https://discourse.pi-hole.net/u/deHakkelaar)\
**Post date:** [January 27, 2020, 4:38pm UTC](https://discourse.pi-hole.net/t/custom-dns-observations/27533/2 "2020-01-27T16:38:43Z")

</div>

I'll try to answer as many possible.

> [@borpin](#):
>
> The name **Custom DNS** is not the best I suggest. Perhaps **Local Hostnames** might be better (possibly need to put my tin hat on 😁)?

If you mean below settings:

 ![image](https://discourse.pi-hole.net/uploads/default/original/2X/6/6352d84fb98370a66b809c8fe7d7142e7f0c1189.png)

Yes its an accurate description.  
You configure DNS servers here that Pi-hole itself will query if it doesnt know the answer (not on the blocklists or not cached).

> [@borpin](#):
>
> Any entry in `/etc/hosts` is going to be a local hostname, is it not?

Not exactly.  
Pi-hole reads this `hosts` file on startup/boot and creates local internal DNS A or AAAA records out of these `hosts` entries.  
You could also configure `pihole-FTL` (`dnsmasq`) to not read this `hosts` file at startup:

```auto
pi@noads:~ $ man dnsmasq
[..]
       -h, --no-hosts
              Don't read the hostnames in /etc/hosts.

```

> [@borpin](#):
>
> You could argue that Pi-hole itself is a custom DNS 😉.

Pihole **is** a caching forwarding DNS server:

> **[Pi-hole Origins - Pi-hole documentation](https://docs.pi-hole.net/main/origins/)**
>
> Software packages used in Pi-hole

> [@borpin](#):
>
> Perhaps add a comment in `hosts` file, to not add entries but to use the internal facility?

The `hosts` file is not really suited to create DNS records as it will only allow you to add A or AAAA records.  
Scroll down half way in below posting of mine "If you create a file":

> [@Running two Piholes?](https://discourse.pi-hole.net/t/running-two-piholes/3895/6):
>
> I wonder if you have same issue as i experienced with Asus. If using the router for DHCP, can you post results from below on a Linux client please: cat /etc/resolv.conf Or if on a Windows client: ipconfig /all \*For latter, I am only interested in the DNS server(s) displayed. I dont have details, you'll need to figure out yourself as probably no one tried before. Its Linux so almost everything you can think of is possible if using right software and bit of scripting. One solution I can t…

> [@borpin](#):
>
> How does this facility interact / impact with the advanced DNS settings? I am thinking of -
> 
> - Never forward non-FQDNs (currently checked)
> - Never forward reverse lookups for private IP ranges (currently checked)
> - Use Conditional Forwarding (currently un-checked)
> 
> I’ll admit I have never been completely comfortable that I understand what these settings actually do.

The docs are the best source for that:

> **[Overview of Pi-hole - Pi-hole documentation](https://docs.pi-hole.net)**
>
> Brief overview of Pi-hole

---

_[View the full topic](https://discourse.pi-hole.net/t/custom-dns-observations/27533)._
