1,587 bytes added
, 11:53, 1 June 2014
{{Languages}}
== Dhcp-dns for SME Server ==
{{Level|beginner}}
=== Maintainer ===
[mailto:stephdl@de-labrusse.fr Stéphane de Labrusse] AKA [[User:Stephdl|Stephdl]]
=== Description ===
This contribution for SME Server adds the abilities to parse the dhcpd.leases file and feed the data into tinydns. Original idea from [[bugzilla:2388]]
=== Installation ===
====For SME8====
This contrib is currently held in the [[stephdl]] and [[dag]] repositories, so the following commands will install on your SME Server.
yum --enablerepo=stephdl,dag install smeserver-dhcp-dns
You will then need to activate the database changes etc.
The 'official' way is to perform
signal-event post-upgrade; signal-event reboot
or if you do not want to restart your server
signal-event dhcp-dns ; signal-event console-save
====For SME9====
This feature could be imported soon directly in sme9, this is pending you work in [[bugzilla: 2388]]
===How it works===
Of course all is done by a dhcp service so you need to set up one and play with other computers
If all is ok then you may be able to see the name of your computer in the tinydns record
less /var/service/tinydns/root/data
Then you can ping your host by their name directly in your sme console, test it
ping pc_name
if it doesn't work you can take a look to the dhcpd.leases to see if your host is well written in that configuration file with a correct dhcp lease.
less /var/lib/dhcpd/dhcpd.leases dhcpd record
=== Uninstall ===
yum remove smeserver-dhcp-dns
signal-event post-upgrade; signal-event reboot
[[Category: Contrib]]