0 Members and 1 Guest are viewing this topic.
I will try to emulate your setting.
v=DMARC1; p=none; ruf=mailto:d@ruf.agari.com; rua=mailto:d@rua.agari.com; fo=1
I am not sure but possible in dns table of kloxo database, 'dmac' and '_dmarc' save in the same variable (where variable is 'dmarc'). And it's make Kloxo-MR panel confuse with this situation.By default, Kloxo not accept variable like '_dmarc' (include '_' in front). In Kloxo-MR, '_dmarc' still accept but need to convert '_dmarc' to 'dmarc' and then save as 'hostname'.
https://domain.com:7777/display.php?frm_action=updateform&frm_subaction=edit&frm_o_o[0][class]=client&frm_o_o[0][nname]=agona2&frm_o_o[1][class]=domain&frm_o_o[1][nname]=3dgsm.pl&frm_o_o[2][class]=dns&frm_o_o[3][class]=dns_record_a&frm_o_o[3][nname]=txt_base
sh /script/fixdnsremoverecord --ttype=TXT --hostname=localhost/script/fixdnsremoverecord: line 29: [: missing `]'Remove DNS record for 'localhost' hostname in 'TXT' ttype- For 'test.xxx.pl' ('admin') at 'localhost'
Wait for next update (also introduce for thehostingtool).
sh /script/fixdnsremoverecord --ttype=TXT --hostname=localhostRemove DNS record for 'localhost' hostname in 'TXT' ttype- For 'test.xxx.pl' ('admin') at 'localhost'
I am not testing fixdnsremoverecord intensively.
<?php include_once "lib/html/include.php"; initProgram('admin');$login->loadAllObjects('client');$list = $login->getList('client');$par = parse_opt($argv);if (isset($par['ttype'])) { $ttype = $par['ttype'];}if (isset($par['hostname'])) { $hostname = $par['hostname'];}$nolog = false;log_cleanup("Remove DNS record for '{$hostname}' hostname in '{$ttype}' ttype", $nolog);foreach($list as $c) { $dlist = $c->getList('domain'); foreach($dlist as $l) { $dns = $l->getObject('dns'); $dns->setUpdateSubaction('full_update'); print("- For '{$dns->nname}' ('{$c->nname}') at '{$c->syncserver}'\n"); foreach($dns->dns_record_a as $drec) { if (($drec->ttype === $ttype) && ($drec->hostname === $hostname)) { print("-- remove '{$drec->hostname}' hostname in '{$drec->ttype}'\n"); } else { $x[] = $drec; } } $dns->dns_record_a = $x; $dns->was(); }}
Page created in 0.061 seconds with 19 queries.