OPNsense Forum

English Forums => General Discussion => Topic started by: cybermaus on April 09, 2021, 09:14:40 am

Title: DNS-DHCP and multi-homed (wifi-eth) clients
Post by: cybermaus on April 09, 2021, 09:14:40 am
Hi

I ran into a problem today where DNS was returning a IP address for a DHCP client. However that client had plugged in a Cable and shutdown WiFi. Of course both were in the leases table, under the same name.

And this was sufficiently long ago that even in OpenSense the WiFi was labeled as "offline"

I guess DNS just returns the first match, but can we customize it to return the first active match, and anyway if both are active, return the Eth link?
Any idea's how to achieve this?

Alternatively, I guess I could bridge WiFi and Eth into a single bridge with a single MAC, but I tried that a few years back and found it also not very stable.

Thanks