Commit 65fd52d7 authored by Alan Garcia's avatar Alan Garcia
Browse files

Pour le futur, rajoute dump_axfr ;)

parent 1edfd1cf
...@@ -460,6 +460,11 @@ class m_dom { ...@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment