Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
some DHCP hostnames not resolving.
« previous
next »
Print
Pages: [
1
]
Author
Topic: some DHCP hostnames not resolving. (Read 806 times)
donee
Newbie
Posts: 3
Karma: 0
some DHCP hostnames not resolving.
«
on:
March 05, 2024, 03:57:15 pm »
This is a new install of OPNsense 24.1.2_1-amd64. I noticed that I could not resolve all my hosts properly. Then I looked in the log and notied I had this error for the clinet
2024-03-04T16:04:30-05:00 Error dhcpd uid lease 10.10.0.71 for client bc:24:11:xxd:xx:xx is duplicate on 10.10.0.0/24
2024-03-04T16:04:30-05:00 Error dhcpd from the dynamic address pool for 10.10.0.0/24
2024-03-04T16:04:30-05:00 Error dhcpd Remove host declaration s_lan_6 or remove 10.10.0.71
2024-03-04T16:04:30-05:00 Error dhcpd Dynamic and static leases present for 10.10.0.71.
Why am i getting a duplicate? What is s_lan_6?
There is one other host that is not resolving but also not throwing errors, but I am hoping fixing this issue with fix that issue.
Logged
Patrick M. Hausen
Hero Member
Posts: 6809
Karma: 572
Re: some DHCP hostnames not resolving.
«
Reply #1 on:
March 05, 2024, 03:59:08 pm »
Static assignments must be outside of the dynamic range.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
donee
Newbie
Posts: 3
Karma: 0
Re: some DHCP hostnames not resolving.
«
Reply #2 on:
March 05, 2024, 11:52:52 pm »
I think I got the errors fixed by giving the dhcp static ip one outside the dhcp server range. Now I think the only issue is any of the dhcp static entries the dns does not resolve forward or backward. The dynamic dhcp leases resolve dns just fine, just not the static leases.
Logged
zan
Full Member
Posts: 175
Karma: 31
Re: some DHCP hostnames not resolving.
«
Reply #3 on:
March 06, 2024, 02:20:56 am »
Is Services>Unbound>General>Register ISC DHCP Static Mappings on?
Logged
donee
Newbie
Posts: 3
Karma: 0
Re: some DHCP hostnames not resolving.
«
Reply #4 on:
March 06, 2024, 02:28:08 am »
Yes that fixed it, I only had "Register ISC DHCP4 Leases" checked. I did not realize that static ones where separate.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
some DHCP hostnames not resolving.