From 61ca8c8cfd9157871601a924c2d21c78f604603c Mon Sep 17 00:00:00 2001 From: Chris L Date: Tue, 14 Nov 2023 18:56:56 +0000 Subject: [PATCH] Update faq.md Signed-off-by: Chris L --- docs/main/faq.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/main/faq.md b/docs/main/faq.md index efa659f..a352c4b 100644 --- a/docs/main/faq.md +++ b/docs/main/faq.md @@ -105,3 +105,16 @@ Restart the web server: ```bash sudo service lighttpd restart ``` + +### In which order are locally defined DNS records used? + +**Answer:** + +The order of locally defined DNS records is: + +1. The device's host name and `pi.hole` +2. Configured in a config file in `/etc/dnsmasq.d/` +3. Read from `/etc/hosts` +4. Read from the "Local (custom) DNS" list (stored in `/etc/pihole/custom.list`) + +Only the first record will trigger an address-to-name association.