Hi , i would like to use DNS name , but it is not working .
i ' ve install pihole on my raspberrypi3 with raspbian bullseye OS .
i added for a test in " LOCAL DNS " => DNS RECORDS an entry like this :
baby 192.168.1.135
and the entry was successfulyl added .
So , in my ubuntu system , in my terminal i enterred this command :
iznobe@iznobe-PC:~$ ping -c2 baby
ping: baby: Nom ou service inconnu
iznobe@iznobe-PC:~$ ping -c2 baby.lan
ping: baby.lan: Nom ou service inconnu
iznobe@iznobe-PC:~$
iznobe@RPI3:~ $ cat /etc/pihole/custom.list
192.168.1.135 baby
iznobe@RPI3:~ $ dig baby
; <<>> DiG 9.16.48-Raspbian <<>> baby
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2160
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;baby. IN A
;; AUTHORITY SECTION:
. 3300 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2024052201 1800 900 604800 86400
;; Query time: 40 msec
;; SERVER: 80.67.169.12#53(80.67.169.12)
;; WHEN: Wed May 22 21:42:30 CEST 2024
;; MSG SIZE rcvd: 109
iznobe@RPI3:~ $
not working !
have i done anything wrong ?
My pi is set up to use DNS Over HTTPS with FDN servers , but it not use them :
iznobe@RPI3:~ $ dig RPI3.pi.hole
; <<>> DiG 9.16.48-Raspbian <<>> RPI3.pi.hole
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 27348
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;RPI3.pi.hole. IN A
;; AUTHORITY SECTION:
. 1695 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2024052201 1800 900 604800 86400
;; Query time: 30 msec
;; SERVER: 80.67.169.12#53(80.67.169.12)
;; WHEN: Wed May 22 21:09:14 CEST 2024
;; MSG SIZE rcvd: 116
iznobe@RPI3:~ $
iznobe@RPI3:~ $ sudo systemctl status cloudflared
● cloudflared.service - cloudflared DNS over HTTPS proxy
Loaded: loaded (/etc/systemd/system/cloudflared.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2024-05-21 07:17:13 CEST; 1 day 14h ago
Main PID: 716 (cloudflared)
Tasks: 11 (limit: 1595)
CPU: 8min 24.135s
CGroup: /system.slice/cloudflared.service
└─716 /usr/local/bin/cloudflared proxy-dns --port 5053 --upstream https://ns0.fdn.fr/dns-query --upstream https://ns1.fdn.fr/dns-query
mai 22 19:41:40 RPI3 cloudflared[716]: 2024-05-22T17:41:40Z ERR failed to connect to an HTTPS backend "https://ns0.fdn.fr/dns-query" error="failed to perform an HTTPS request: Post \"https://ns0.fdn.fr/dns-query\": unexpected EOF"
mai 22 19:47:14 RPI3 cloudflared[716]: 2024-05-22T17:47:14Z ERR failed to connect to an HTTPS backend "https://ns0.fdn.fr/dns-query" error="failed to perform an HTTPS request: Post \"https://ns0.fdn.fr/dns-query\": unexpected EOF"
mai 22 19:47:43 RPI3 cloudflared[716]: 2024-05-22T17:47:43Z ERR failed to connect to an HTTPS backend "https://ns0.fdn.fr/dns-query" error="failed to perform an HTTPS request: Post \"https://ns0.fdn.fr/dns-query\": unexpected EOF"
mai 22 19:48:05 RPI3 cloudflared[716]: 2024-05-22T17:48:05Z ERR failed to connect to an HTTPS backend "https://ns0.fdn.fr/dns-query" error="failed to perform an HTTPS request: Post \"https://ns0.fdn.fr/dns-query\": unexpected EOF"
mai 22 19:48:05 RPI3 cloudflared[716]: 2024-05-22T17:48:05Z ERR failed to connect to an HTTPS backend "https://ns0.fdn.fr/dns-query" error="failed to perform an HTTPS request: Post \"https://ns0.fdn.fr/dns-query\": unexpected EOF"
mai 22 19:57:23 RPI3 cloudflared[716]: 2024-05-22T17:57:23Z ERR failed to connect to an HTTPS backend "https://ns0.fdn.fr/dns-query" error="failed to perform an HTTPS request: Post \"https://ns0.fdn.fr/dns-query\": unexpected EOF"
mai 22 19:57:23 RPI3 cloudflared[716]: 2024-05-22T17:57:23Z ERR failed to connect to an HTTPS backend "https://ns0.fdn.fr/dns-query" error="failed to perform an HTTPS request: Post \"https://ns0.fdn.fr/dns-query\": unexpected EOF"
mai 22 20:53:58 RPI3 cloudflared[716]: 2024-05-22T18:53:58Z ERR failed to connect to an HTTPS backend "https://ns0.fdn.fr/dns-query" error="failed to perform an HTTPS request: Post \"https://ns0.fdn.fr/dns-query\": unexpected EOF"
mai 22 20:56:15 RPI3 cloudflared[716]: 2024-05-22T18:56:15Z ERR failed to connect to an HTTPS backend "https://ns0.fdn.fr/dns-query" error="failed to perform an HTTPS request: Post \"https://ns0.fdn.fr/dns-query\": unexpected EOF"
mai 22 21:03:32 RPI3 cloudflared[716]: 2024-05-22T19:03:32Z ERR failed to connect to an HTTPS backend "https://ns0.fdn.fr/dns-query" error="failed to perform an HTTPS request: Post \"https://ns0.fdn.fr/dns-query\": unexpected EOF"
iznobe@RPI3:~ $
iznobe@RPI3:~ $ cat /etc/default/cloudflared
# Commandline args for cloudflared, using Cloudflare DNS
CLOUDFLARED_OPTS=--port 5053 --upstream https://ns0.fdn.fr/dns-query --upstream https://ns1.fdn.fr/dns-query
#CLOUDFLARED_OPTS=--port 5053 --upstream https://1.1.1.1/dns-query --upstream https://1.0.0.1/dns-query
iznobe@RPI3:~ $
Any help would be great appreciated .