Obsolete Releases > SME 8.x Contribs
smeserver-dhcp-dns : need testers
stephdl:
It could be good to test it on a server with a lot of dhcp clients since when the dhcpd lease is over the entry must be removed or added for new client.
you can compare /var/service/tinydns/root/data and /var/lib/dhcpd/dhcpd.leases
Of course the dns entry is valid for the whole period during the ip address is given so if the client is stopped you can have unreachable answers.
I will ask to a friend with a server in a french school to test it
Stefano:
--- Quote from: stephdl on July 25, 2015, 12:50:12 PM ---yes stefano, now it is a contrib available for sme8 and sme9.
--- End quote ---
thank you, testing asap on a few servers of mine
stephdl:
--- Quote from: Stefano on July 25, 2015, 04:56:48 PM ---thank you, testing asap on a few servers of mine
--- End quote ---
you should use
--- Code: ---host HostName
--- End code ---
instead of
--- Code: ---dig any HostName
--- End code ---
stephdl:
--- Quote from: stephdl on July 25, 2015, 01:50:48 PM ---I will ask to a friend with a server in a french school to test it
--- End quote ---
Ok I'm testing it on a subnet 192.168.148.0/22 -> 1024 IP
stephdl:
new version to test, following the work of bug 2388, now it is a contrib and you are welcome to test it , please
see http://mirror.de-labrusse.fr/Sme-Server/smeserver-dhcp-dns/ and http://wiki.contribs.org/Dhcp-dns
for sme8
--- Code: ---yum install http://mirror.de-labrusse.fr/Sme-Server/smeserver-dhcp-dns/smeserver-dhcp-dns-1.2.0-2.el5.sme.noarch.rpm
signal-event post-upgrade; signal-event reboot
--- End code ---
for sme9
--- Code: ---yum install http://mirror.de-labrusse.fr/Sme-Server/smeserver-dhcp-dns/smeserver-dhcp-dns-1.2.0-2.el6.sme.noarch.rpm
signal-event post-upgrade; signal-event reboot
--- End code ---
then when dhcp.leases is updated you can find the hostname of associated clients with an ip in /var/service/tinydns/root/data
if all is ok you can do
--- Code: ---ping HostnameClient
host HostnameClient
--- End code ---
and retrieve its IP and its full dns entry
you have an event dhcp-dns if you want to force the renew, however every 30 seconds, the dhcp.leases is watched.
Please test and report, thank in advance.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version