Pour le futur, rajoute dump_axfr ;)

This commit is contained in:
Alan Garcia 2013-07-22 17:16:37 +00:00
parent 1edfd1cff9
commit 65fd52d792
1 changed files with 5 additions and 0 deletions

View File

@ -460,6 +460,11 @@ class m_dom {
return "/www/".$this->domshort($domain); return "/www/".$this->domshort($domain);
} }
function dump_axfr($domain, $ns='localhost') {
exec('/usr/bin/dig AXFR "'.escapeshellcmd($domain).'" @"'.escapeshellcmd($ns).'"', $axfr);
return $axfr;
}
function lst_default_subdomains(){ function lst_default_subdomains(){
global $db,$err; global $db,$err;