Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
[SOLVED] Unbound DNS blocking RFC 1918 and/or localhost?
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Unbound DNS blocking RFC 1918 and/or localhost? (Read 2342 times)
Patrick M. Hausen
Hero Member
Posts: 6841
Karma: 574
[SOLVED] Unbound DNS blocking RFC 1918 and/or localhost?
«
on:
August 13, 2020, 09:23:09 am »
Hi all,
I set up unbound at our remote office as a local recursive name server and cache. This morning developers complain their local Docker based environments "stop working".
Looks like unbound does not like to return 127.0.0.1 as an A record for officially registered domains. True?
We have the "punkt.dev" domain with records pointing to that address so devs can access their local projects with a real FQDN and, more importantly, we can generate Letsencrypt certificates for those FQDNs. Otherwise a local /etc/hosts entry would be sufficient.
So - where is the "rebind protection" or "block local addresses" or whatever configured? I seem to be vision impaired this morning and cannot find it.
Thanks!
Patrick
«
Last Edit: August 13, 2020, 09:45:07 am by pmhausen
»
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Patrick M. Hausen
Hero Member
Posts: 6841
Karma: 574
Re: Unbound DNS blocking RFC 1918 and/or localhost?
«
Reply #1 on:
August 13, 2020, 09:44:36 am »
I found the "Private Domains" setting in the "Miscellaneous" section. Found it by studying the generated config files, because the help text, which I had read before, was not particularly helpful in my case. The reference to DNSBLs should be removed and the intent "permit local addresses as a query result" be made clear.
But no bug or big problem, all is well
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
[SOLVED] Unbound DNS blocking RFC 1918 and/or localhost?