Univention Bugzilla – Attachment 4054 Details for
Bug 24282
Enabling DDNS in dhclient.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
univention-network-manager_ddns.patch
univention-network-manager_ddns.patch (text/plain), 2.97 KB, created by
Stefan Gohmann
on 2012-01-03 07:44 CET
(
hide
)
Description:
univention-network-manager_ddns.patch
Filename:
MIME Type:
Creator:
Stefan Gohmann
Created:
2012-01-03 07:44 CET
Size:
2.97 KB
patch
obsolete
>Index: debian/univention-network-manager.univention-config-registry >=================================================================== >--- debian/univention-network-manager.univention-config-registry (Revision 28607) >+++ debian/univention-network-manager.univention-config-registry (Revision 28630) >@@ -6,6 +6,8 @@ > File: etc/dhcp3/dhclient.conf > Variables: dhclient/options/timeout > Variables: dhclient/options/retry >+Variables: dhclient/options/ddns >+Variables: dhclient/options/ddns/zone > > Type: file > File: etc/NetworkManager/nm-system-settings.conf >Index: debian/changelog >=================================================================== >--- debian/changelog (Revision 28607) >+++ debian/changelog (Revision 28630) >@@ -1,3 +1,9 @@ >+univention-network-manager (1.1.0.1) unstable; urgency=low >+ >+ * Added UCRV to enable and handle DDNS in dhclient.conf (Bug: #24282) >+ >+ -- Roman Asendorf <asendorf@univention.de> Tue, 01 Nov 2011 10:31:37 +0100 >+ > univention-network-manager (1.0.0-1) unstable; urgency=low > > * convert to GNU APGL V3 (Bug #17543) >Index: debian/univention-network-manager.univention-config-registry-variables >=================================================================== >--- debian/univention-network-manager.univention-config-registry-variables (Revision 28607) >+++ debian/univention-network-manager.univention-config-registry-variables (Revision 28630) >@@ -33,3 +33,15 @@ > Description[en]=Defines the amount of time in seconds that the DHCP clients waits before trying again > Type=int > Categories=system-base >+ >+[dhclient/options/ddns] >+Description[de]=Aktiviert DDNS per DHCP für externe DNS-Dienste [disabled] >+Description[en]=Activates DDNS via DHCP for external DNS-Services [disabled] >+Type=bool >+Categories=system-base >+ >+[dhclient/options/ddns/zone] >+Description[de]=Definiert die DNS Zone, die bei aktiviertem DDNS per DHCP verwendet werden soll [domainname] >+Description[en]=Defines the DNS Zone which will be updated when DDNS via DHCP is enabled [domainname] >+Type=str >+Categories=system-base >Index: conffiles/etc/dhcp3/dhclient.conf >=================================================================== >--- conffiles/etc/dhcp3/dhclient.conf (Revision 28607) >+++ conffiles/etc/dhcp3/dhclient.conf (Revision 28630) >@@ -13,6 +13,16 @@ > # few changes must be made to this file, if any. > # > >+@!@ >+if configRegistry.get('dhclient/options/ddns', 'disabled').lower() in ('yes','true','enabled','1'): >+ print 'send host-name "%s";' % configRegistry.get('hostname', '') >+ if configRegistry.get('dhclient/options/ddns/zone', None): >+ print 'send fqdn.fqdn "%s.%s";' % (configRegistry.get('hostname', ''), configRegistry.get('dhclient/options/ddns/zone', None)) >+ else: >+ print 'send fqdn.fqdn "%s.%s";' % (configRegistry.get('hostname', ''), configRegistry.get('domainname', '')) >+ print 'send fqdn.server-update off;' >+ print 'send fqdn.encoded on;' >+@!@ > #send host-name "andare.fugue.com"; > #send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; > #send dhcp-lease-time 3600;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 24282
: 4054