Changes

Jump to navigation Jump to search
1,029 bytes added ,  04:36, 31 March 2021
Line 4: Line 4:  
=== Maintainer ===
 
=== Maintainer ===
 
[mailto:stephdl@de-labrusse.fr Stéphane de Labrusse] AKA [[User:Stephdl|Stephdl]]
 
[mailto:stephdl@de-labrusse.fr Stéphane de Labrusse] AKA [[User:Stephdl|Stephdl]]
 +
 +
===Version===
 +
 +
{{#smeversion: smeserver-dhcp-dns }}
    
=== Description ===
 
=== 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]]
+
This contribution for SME Server adds the abilities to parse the dhcpd.leases file and feed the data (the name of the computer) into tinydns (the dns server). Original idea from [[bugzilla:2388]]<br />
 +
 
 +
It gives a real dns name to computers on your network instead of the dummy name
 +
pc-00001.mycompany.local
 +
after that on your network you can ping, ssh a remote host by its name
 +
 
 +
=== Installation SME8, SME9, SME10===
   −
=== Installation ===
+
<tabs container><tab name="For SME 10">
====For SME8====
+
yum --enablerepo=smecontribs install smeserver-dhcp-dns
This contrib is currently held in the [[stephdl]] and [[dag]] repositories, so the following commands will install on your SME Server.
+
</tab>
 +
<tab name="For SME 9 or SME 8">
   −
  yum --enablerepo=stephdl,dag install smeserver-dhcp-dns
+
  yum --enablerepo=smecontribs install smeserver-dhcp-dns
    
You will then need to activate the database changes etc.
 
You will then need to activate the database changes etc.
Line 19: Line 30:  
  signal-event post-upgrade;  signal-event reboot
 
  signal-event post-upgrade;  signal-event reboot
 
or if you do not want to restart your server
 
or if you do not want to restart your server
  signal-event dhcp-dns ; signal-event console-save
+
  signal-event dhcp-dns ; config set UnsavedChange no
 
+
</tab>
 
+
</tabs>
====For SME9====
  −
This feature could be imported soon directly in sme9, this is pending you work in [[bugzilla: 2388]]
      
===How it works===
 
===How it works===
Line 35: Line 44:     
  ping pc_name
 
  ping pc_name
 +
or
 +
host 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.
 
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
+
  less /var/lib/dhcpd/dhcpd.leases
 +
 
 +
for example with that kind of records ('''binding state active;'''):
 +
 
 +
lease 192.168.151.69 {
 +
  starts 1 2014/07/28 07:26:59;
 +
  ends 2 2014/07/29 07:26:59;
 +
  '''binding state active;'''
 +
  next binding state free;
 +
  hardware ethernet 00:1e:8c:ad:7d:d6;
 +
  uid "\001\000\036\214\255}\326";
 +
  client-hostname "infob14";
    
=== Uninstall ===
 
=== Uninstall ===
 
  yum remove smeserver-dhcp-dns
 
  yum remove smeserver-dhcp-dns
 
  signal-event post-upgrade;  signal-event reboot
 
  signal-event post-upgrade;  signal-event reboot
 +
 +
===Bugs===
 +
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 +
and select the smeserver-openvpn-routed component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-dhcp-dns|title=this link}}
 +
 +
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-dhcp-dns|noresultsmessage="No open bugs found."}}
 +
 +
===Changelog===
 +
Only versions released in smecontrib are listed here.
 +
 +
{{#smechangelog: smeserver-dhcp-dns}}
 +
 +
 +
    
[[Category: Contrib]]
 
[[Category: Contrib]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,252

edits

Navigation menu