Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Unbound DNS returns IP addresses for all local VLAN interfaces
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unbound DNS returns IP addresses for all local VLAN interfaces (Read 5976 times)
abraxxa
Jr. Member
Posts: 67
Karma: 7
Unbound DNS returns IP addresses for all local VLAN interfaces
«
on:
October 17, 2020, 03:47:38 pm »
Same issue as this user had with 20.1 still exists in 20.7:
https://forum.opnsense.org/index.php?topic=17190.msg78161
Interestingly the IPv6 address of each interface is returned but only the IPv4 interface of one
Is there a config option to control the automatic DNS entry generation for the firewall itself?
Logged
schnipp
Sr. Member
Posts: 371
Karma: 19
Re: Unbound DNS returns IP addresses for all local VLAN interfaces
«
Reply #1 on:
October 17, 2020, 05:29:06 pm »
I noticed the same problem some time ago. But, maybe it works as designed. I performed similar steps like in the post you mentioned plus one additional step. So, everything works fine.
1. Override the FQDN of the firewall via
Unbound
to a specific IP (In the global settings [system -> settings -> general]. Additionally, set a different FQDN to avoid possible conflicts).
2. Register the override as an alternate hostname (system -> settings -> administration).
Logged
OPNsense 24.7.1-amd64
Mks
Sr. Member
Posts: 272
Karma: 19
Re: Unbound DNS returns IP addresses for all local VLAN interfaces
«
Reply #2 on:
October 18, 2020, 11:56:49 am »
Hi,
you can configure "views" in the "Custom Options", may this solves the issue.
br
Logged
abraxxa
Jr. Member
Posts: 67
Karma: 7
Re: Unbound DNS returns IP addresses for all local VLAN interfaces
«
Reply #3 on:
October 22, 2020, 11:55:38 pm »
Thanks for your replies!
Using a custom fqdn for just the single administration IPv4/6 address is a workaround I already thought of but hoped to avoid.
@schnipp: thanks for the alternate hostname config option pointer!
@Mks: the help text says that the unbound custom options will be removed in a future version so that' s nothing I want to use if possible.
Logged
Mks
Sr. Member
Posts: 272
Karma: 19
Re: Unbound DNS returns IP addresses for all local VLAN interfaces
«
Reply #4 on:
October 23, 2020, 03:25:55 pm »
@Mks: the help text says that the unbound custom options will be removed in a future version so that' s nothing I want to use if possible
Yes, but there will an alternative for that, see
https://github.com/opnsense/plugins/issues/1503#issue-493737939
br
Logged
Gauss23
Hero Member
Posts: 766
Karma: 39
Re: Unbound DNS returns IP addresses for all local VLAN interfaces
«
Reply #5 on:
October 23, 2020, 04:24:33 pm »
Quote from: Mks on October 23, 2020, 03:25:55 pm
the help text says that the unbound custom options will be removed in a future version
You'll find that note at multiple places. Without custom options many scenarios are not doable. So I think they'll stay until the UI is able to present every config option. In my opinion it's better to stay with the custom field for rarely used options. Or make those custom fields only editable/viewable by a "superadmin".
I use them a lot, unbound is one example, OpenVPN is another.
Logged
„The S in IoT stands for Security!“
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Unbound DNS returns IP addresses for all local VLAN interfaces