@world
i recently swapped hardware installed from scratch and imported my backup.
unfortunately this still happens. so far i thought it was my very old installation
causing this behaviour. but now?
is this ‘fixed’
silly me did an update from 171 to 173
three days ago and now, again i cant ping some dhcp clients
the clients in question are rebooted several times since the ipfire boot.
what to post to help the coding-ppl
EDiTH:
i already found out that dhcp-leases.conf is empty
Hi all, not sure if I got it right, so please be gentle with me ;-)…
I am facing the same problem that DHCP served hosts are not reliably reachable via their hostname in the local network. So I poked around a bit and stumbled on the error that when you restart DHCPD it tells “Stopping Unbound DHCP Leases Bridge… Not running.”.
So I checked the start script in /etc/init.d and came across this line:
“if [ “${DNS_UPDATE_ENABLED}” != on ]; then”
Now, I am wondering about the “!=”. Shouldnt it be “=” to allow the start of unbind if configured so?
At least if I replace the “!=” with “=” and restart dhcpd, then I get a proper message that also the bridge is started.
The setting ‘DNS_UPDATE_ENABLED’ is on if you use the update mechanism of RFC2136, see
DNS Update
This section can be used to configure DNS Update, a feature which allows DHCP clients to update their own DNS entries. If a DHCP client changes IP address, it can notify IPFire of that change so host name resolution will still work.
@hendrik
just search for ‘DHCP Leases Bridge’ and you get the picture.
lots of topics/splits. till now, no solution just the workaround.
as it is not working reliable one can fire: /usr/sbin/unbound-dhcp-leases-bridge -d -vv
this will fill/sync the dhcp-leases.conf
Gents, what I say is that with the current setting in the script the lease bridge is not startet on system boot. Which would explain why it is not working. If you now change the script as suggested and restart dhcpd (now incl. the bridge) it might well fix the issue.
I will have an eye on my system and keep you posted.
@hendrik
As I understand it, there are two ways to support the DNS server with information about local clients.
RFC2136, which defines the procedures how clients can register their information at the server.
IPFire’s ‘unbound-dhcp-leases-bridge’, which samples information from DHCP server and sends it to the DNS server. A kind of RFC2136 functionality for the DHCP clients.
So the bridge has to be started in case of RFC2136 absence. This is exactly what does the statement cited.
BTW: I just rebooted my system. unbound-dhcp-leases-bridge’ is running.
btw: i just rebooted ipfire after the 175 update
et voila: cat /etc/unbound/dhcp-leases.conf is empty
issued a /usr/sbin/unbound-dhcp-leases-bridge -d -vv
et voila: cat /etc/unbound/dhcp-leases.conf is populated
unfortunately this is the only ipfire instance i have doing dhcp