View | Details | Raw Unified | Return to bug 24282
Collapse All | Expand All

(-)debian/univention-network-manager.univention-config-registry (+2 lines)
 Lines 6-11    Link Here 
6
File: etc/dhcp3/dhclient.conf
6
File: etc/dhcp3/dhclient.conf
7
Variables: dhclient/options/timeout
7
Variables: dhclient/options/timeout
8
Variables: dhclient/options/retry
8
Variables: dhclient/options/retry
9
Variables: dhclient/options/ddns
10
Variables: dhclient/options/ddns/zone
9
11
10
Type: file
12
Type: file
11
File: etc/NetworkManager/nm-system-settings.conf
13
File: etc/NetworkManager/nm-system-settings.conf
(-)debian/changelog (+6 lines)
 Lines 1-3    Link Here 
1
univention-network-manager (1.1.0.1) unstable; urgency=low
2
3
  * Added UCRV to enable and handle DDNS in dhclient.conf (Bug: #24282)
4
5
 -- Roman Asendorf <asendorf@univention.de>  Tue, 01 Nov 2011 10:31:37 +0100
6
1
univention-network-manager (1.0.0-1) unstable; urgency=low
7
univention-network-manager (1.0.0-1) unstable; urgency=low
2
8
3
  * convert to GNU APGL V3 (Bug #17543)
9
  * convert to GNU APGL V3 (Bug #17543)
(-)debian/univention-network-manager.univention-config-registry-variables (+12 lines)
 Lines 33-35    Link Here 
33
Description[en]=Defines the amount of time in seconds that the DHCP clients waits before trying again
33
Description[en]=Defines the amount of time in seconds that the DHCP clients waits before trying again
34
Type=int
34
Type=int
35
Categories=system-base
35
Categories=system-base
36
37
[dhclient/options/ddns]
38
Description[de]=Aktiviert DDNS per DHCP für externe DNS-Dienste [disabled]
39
Description[en]=Activates DDNS via DHCP for external DNS-Services [disabled]
40
Type=bool
41
Categories=system-base
42
43
[dhclient/options/ddns/zone]
44
Description[de]=Definiert die DNS Zone, die bei aktiviertem DDNS per DHCP verwendet werden soll [domainname]
45
Description[en]=Defines the DNS Zone which will be updated when DDNS via DHCP is enabled [domainname]
46
Type=str
47
Categories=system-base
(-)conffiles/etc/dhcp3/dhclient.conf (+10 lines)
 Lines 13-18    Link Here 
13
#	few changes must be made to this file, if any.
13
#	few changes must be made to this file, if any.
14
#
14
#
15
15
16
@!@
17
if configRegistry.get('dhclient/options/ddns', 'disabled').lower() in ('yes','true','enabled','1'):
18
    print 'send host-name "%s";' % configRegistry.get('hostname', '')
19
    if configRegistry.get('dhclient/options/ddns/zone', None):
20
        print 'send fqdn.fqdn "%s.%s";' % (configRegistry.get('hostname', ''), configRegistry.get('dhclient/options/ddns/zone', None))
21
    else:
22
        print 'send fqdn.fqdn "%s.%s";' % (configRegistry.get('hostname', ''), configRegistry.get('domainname', ''))
23
    print 'send fqdn.server-update off;'
24
    print 'send fqdn.encoded on;'
25
@!@
16
#send host-name "andare.fugue.com";
26
#send host-name "andare.fugue.com";
17
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
27
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
18
#send dhcp-lease-time 3600;
28
#send dhcp-lease-time 3600;

Return to bug 24282