Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - olmo1501

#1
Reworded the Github issue to make it sound more like a feature request.
#2
Agreed. I used the term "issue" in the meaning of "not working as expected" and not "this is a bug".

If we are talking about the Alias-Record-Type then returning IPv4- and IPv6-addresses must be expected. And that's what it does right now. And with a dynamic prefix and the use of a constructor a IPv6-address can not be returned. I totally understand that.

So let's talk about the use of CNAME instead of Alias. That would work around the problem of not being able to return a IPv6-address. I can not think of any side-effects right now.
#3
While the team is working on this issue I kind of solved (it's more or less a workaround, not a solution) it using the Unbound Advanced Configuration.

I created a file

cnames.conf
under

/usr/local/etc/unbound.opnsense.d
with entries like this:

local-data: "host.domain.de CNAME anotherhost.domain.de"
Works like a charm.
#4
Quote from: RutgerDiehard on June 18, 2025, 12:34:14 PMIs there a way of removing all current hosts registered via DHCP6 so when they renew their addresses, they will automatically register the correct domain?

In my case a simple
dhclient -6 -r
 followed by a

dhclient -6
was sufficient (expand with -v if you like to have more verbosity). So i would expect that just waiting for the lease to expire and be renewed by the client should sort that out.
#5
I also stumbled across this. I raised a Github issue to address this directly: https://github.com/opnsense/core/issues/8821
#6
If anybody is interested: this has been fixed in https://github.com/opnsense/core/issues/8797

The patch is scheduled to be released with version 25.7.

Thanks a lot to the team for the immediate feedback and fix.
#7
Hi there,

I just raised an issue on Github on this one but wanted to see if anybody is also running into this issue:

Over the past days I migrated from ISC DHCP to Dnsmasq. My setup consists of multiple VLANs, each of them using a unique domain i.e. something like intern.domain.de and iot.domain.deWith the first one being the system-/ default.domain. While this is working perfectly fine for IPv4 it is not working as expected for IPv6. All A-Records created by Dnsmasq are within the correct domain whereas all AAAA-Records are within the default-domain.

Assign IPv4 and IPv6 configuration via Dnsmasq
Query a host on the default-domain
olli@MacBook-Olli ~ % nslookup -type=Any monitoring.intern.domain.de
Server: 2a02:8071:<snip>
Address: 2a02:8071:<snip>#53

Non-authoritative answer:
Name: monitoring.intern.domain.de
Address: 192.168.241.4
monitoring.intern.domain.de has AAAA address 2a02:8071:<snip>
Now do this with a host on one of the other domains:

olli@MacBook-Olli ~ % nslookup -type=Any pv.iot.domain.de
Server: 2a02:8071:<snip>
Address: 2a02:8071:<snip>#53

Non-authoritative answer:
Name: pv.iot.domain.de
Address: 192.168.51.20
As you can see, there's just an A-record, the AAAA ist missing. But interestingly:

olli@MacBook-Olli ~ % nslookup -type=Any pv.intern.domain.de
Server: 2a02:8071:<snip>
Address: 2a02:8071:<snip>#53

Non-authoritative answer:
Name: pv.intern.domain.de
pv.intern.domain.de has AAAA address 2a02:8071:<snip>
As you can tell the AAAA-Record is being registered with the default-domain instead of the domain assigned to the VLAN. With ISC DHCP this has been working flawlessly

I have found older issues regarding Dnsmasq only supporting one domain but all of them said this had been fixed. But obviously only for IPv4

Is there anything that can be done about this as reverting back to ISC does not seem to be like an option? Am i missing out on something?