Please follow the below template, it will help us to help you!
Expected Behaviour:
Query a local domain. I have set addresses in the /etc/hosts file of the pihole server.
Ex:
user@pihole: cat /etc/hosts
127.0.0.1 localhost
127.0.0.1 pihole
#personal dns
192.168.2.193 plex.nest.rat plex
Actual Behaviour:
On my desktop, I cannot resolve anything in the local domain:
ratkinson@AmanThul:~$ dig plex.nest.rat
; <<>> DiG 9.11.3-1ubuntu1.1-Ubuntu <<>> plex.nest.rat
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 8982
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;plex.nest.rat. IN A
;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Mon Dec 02 13:39:53 PST 2019
;; MSG SIZE rcvd: 42
Sometimes I will see in the pihole logs:
Dec 2 13:41:30 dnsmasq[10278]: query[A] gm.nest.rat from 192.168.2.1
Dec 2 13:41:30 dnsmasq[10278]: /etc/hosts gm.nest.rat is 192.168.2.218
I am unsure why I am not getting a response to my DNS query, even though it looks like the pihole is processing it.
Debug Token:
efxlc08enu