-
-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The domain pi.hole should be fully local #2331
Conversation
…should never be forwarded upstream. Signed-off-by: DL6ER <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As you noted in the linked issue. Should we extend this to webserver.domain
?
Before and after checking out this branch
chris@T14Gen5:~$ dig pi.hole -t HTTPS @nanopi.lan
; <<>> DiG 9.18.30-0ubuntu0.24.04.2-Ubuntu <<>> pi.hole -t HTTPS @nanopi.lan
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48914
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;pi.hole. IN HTTPS
;; AUTHORITY SECTION:
. 86362 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2025030400 1800 900 604800 86400
;; Query time: 30 msec
;; SERVER: 10.0.1.24#53(nanopi.lan) (UDP)
;; WHEN: Tue Mar 04 18:28:11 CET 2025
;; MSG SIZE rcvd: 111
chris@T14Gen5:~$ dig pi.hole -t HTTPS @nanopi.lan
; <<>> DiG 9.18.30-0ubuntu0.24.04.2-Ubuntu <<>> pi.hole -t HTTPS @nanopi.lan
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50053
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;pi.hole. IN HTTPS
;; Query time: 0 msec
;; SERVER: 10.0.1.24#53(nanopi.lan) (UDP)
;; WHEN: Tue Mar 04 18:29:13 CET 2025
;; MSG SIZE rcvd: 36
I am undecided but I actually tend more towards No. They may be specifying real domains here for which they got let's encrypt certificates and if you would make those domains purely local, legit subdomains they may be using for other things would not be forwarded upstream any longer. I do think this has the potential to break more than it will help. |
I'm all for configurability, and for less surprises. In this case, my suggestion is to introduce |
I wholeheartedly agree and 154 configurable options in
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mar 5 09:28:01: query[HTTPS] pi.hole from 10.0.1.32
Mar 5 09:28:01: config pi.hole is NODATA
What does this implement/fix?
The domain
pi.hole
should be fully local. Queries (of whatever type) should never be forwarded upstream.Related issue or feature (if applicable): Fixes #2330
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
git rebase
)Checklist:
developmental
branch.