When adding records to the dns module, and saving configuration, everything is reported as working.
however, dns records are not updated.
from the zentyal.log:
2014/01/06 12:35:39 INFO> GlobalImpl.pm:611 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall dns dhcp
2014/01/06 12:35:39 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: firewall
2014/01/06 12:35:39 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dns
2014/01/06 12:35:40 ERROR> Sudo.pm:231 EBox::Sudo::_rootError - root command nsupdate -l -t 10 /var/lib/zentyal/tmp/WwuwIorRsB failed.
Error output: 06-Jan-2014 12:35:40.032 dns_rdata_fromtext: buffer-0x7f99783617c0:1: near '.il.reduxio': empty label
invalid rdata format: empty label
syntax error
Command output: .
Exit value: 1 at /usr/share/perl5/Error.pm line 182
Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', 'nsupdate -l -t 10 /var/lib/zentyal/tmp/WwuwIorRsB', 'output', 'ARRAY(0x6328da0)', 'error', 'ARRAY(0x2bda278)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 231
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/ZFe35KPDcl.cmd 2>...', 'nsupdate -l -t 10 /var/lib/zentyal/tmp/WwuwIorRsB', 256, 'ARRAY(0x6328da0)', 'ARRAY(0x2bda278)') called at /usr/share/perl5/EBox/Sudo.pm line 201
EBox::Sudo::_root(1, 'nsupdate -l -t 10 /var/lib/zentyal/tmp/WwuwIorRsB') called at /usr/share/perl5/EBox/Sudo.pm line 152
EBox::Sudo::root('nsupdate -l -t 10 /var/lib/zentyal/tmp/WwuwIorRsB') called at /usr/share/perl5/EBox/DNS.pm line 1542
EBox::DNS::_launchNSupdate('EBox::DNS=HASH(0x4ed6008)', 'File::Temp=GLOB(0x633c438)') called at /usr/share/perl5/EBox/DNS.pm line 1513
EBox::DNS::_updateDynDirectZone('EBox::DNS=HASH(0x4ed6008)', 'HASH(0x63298f8)') called at /usr/share/perl5/EBox/DNS.pm line 736
EBox::DNS::_setConf('EBox::DNS=HASH(0x4ed6008)') called at /usr/share/perl5/EBox/Module/Base.pm line 977
EBox::Module::Base::_regenConfig('EBox::DNS=HASH(0x4ed6008)') called at /usr/share/perl5/EBox/Module/Service.pm line 960
EBox::Module::Service::_regenConfig('EBox::DNS=HASH(0x4ed6008)') called at /usr/share/perl5/EBox/Module/Base.pm line 232
EBox::Module::Base::save('EBox::DNS=HASH(0x4ed6008)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 642
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x3ed56d8)', 'progress', 'EBox::ProgressIndicator=HASH(0x3ed0418)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x3ed5300)', 'progress', 'EBox::ProgressIndicator=HASH(0x3ed0418)') called at /usr/share/zentyal/global-action line 39
2014/01/06 12:35:40 INFO> DNS.pm:90 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2014/01/06 12:35:41 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dhcp
2014/01/06 12:35:43 INFO> GlobalImpl.pm:711 EBox::GlobalImpl::saveAllModules - Changes saved successfully
The problem is with the SRV records in the domain (cut from /var/lib/zentyal/tmp/WwuwIorRsB):
update add _kerberos.mydomain 259200 TXT mydomain
update add _kerberos._tcp.mydomain. 259200 SRV 100 100 8880 .mydomain
update add _kerberos._udp.mydomain. 259200 SRV 100 100 8880 .mydomain
update add _kerberos-master._tcp.mydomain. 259200 SRV 100 100 8880 .mydomain
update add _kerberos-master._udp.mydomain. 259200 SRV 100 100 8880 .mydomain
update add _kpasswd._tcp.mydomain. 259200 SRV 100 100 8464 .mydomain
update add _kpasswd._udp.mydomain. 259200 SRV 100 100 8464 .mydomain
if i change ".mydomain" to "something.mydomain" or remove the records, the command: nsupdate -l -t 10 /var/lib/zentyal/tmp/WwuwIorRsB works.
but i cannot find how to remove it from the zenytal configuration.(buttons are grey in the UI for these records)
Thnks in advance!