添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
I saw someone else having this error awhile back, but they were using ISC DHCP.

After migrating from ISC to Kea DHCP, any new machines that are connecting can't get connectivity, ping, DNS, anything except DHCP, the new devices do pull their reserved IPs from kea. Existing devices work without issue, it's just new devices that have been added into the mix since migrating to Kea DHCP. The migration to kea may be coincidental, I am unsure.

Unbound proxies DNS requests to dnscrypt proxy, I will go through that components settings as well. I don't think dnscrypt would be the issue.

Unbound DNS Logs show (same error for all newer devices):
```
2024-05-09T01:06:46-06:00   Notice   unbound   [67860:2] notice: remote address is 10.0.2.223 port 8735
2024-05-09T01:06:46-06:00   Notice   unbound   [67860:2] notice: sendto failed: Invalid argument
```

The fix for the previous user was to make sure in ISC that 'Deny unknown clients' was unchecked. I can't find anything similar for Kea DHCP.

On my machine, ISC DHCP is not enabled, only Kea DHCP is but, the static leases are still defined in ISC config. I don't think that's the issue, as 10.0.2.221-224 are new machines and are not defined in ISC.

I followed the links in these opnsense forum issue and found the solution for ISC. Looking for some advice as I am stumped.

https://forum.opnsense.org/index.php?topic=16872.0

https://forum.opnsense.org/index.php?topic=16908.msg76956#msg76956

Thanks!
All of this sounds like DNS woes, not DHCP in particular...

> 2024-05-09T01:06:46-06:00   Notice   unbound   [67860:2] notice: sendto failed: Invalid argument

It suggests you have pinned your outgoing interfaces in Unbound and it's trying to send something over an interface that is not there or not connected.

> Is Kea experimental beta right now?

It works fine for what it's trying to achieve now. It's not a full ISC DHCP replacement from the GUI yet. As I said it might just be a drift in configuration (which DNS servers are sent and where you bound Unbound to and how it's forwarding and perhaps even redirecting).


Cheers,
Franco
It suggests you have pinned your outgoing interfaces in Unbound and it's trying to send something over an interface that is not there or not connected.
Everyone repeat after me:

There's a reason for the "recommended" part in Interfaces: all (recommended)" ;)