m_dom now refuses cname on its apex
This commit is contained in:
parent
1dc41d5530
commit
cb56e77093
|
@ -1353,6 +1353,10 @@ class m_dom {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Forbidden to create a CNAME RR on the domain APEX (RFC 1912)
|
||||||
|
if ($type == 'cname' && $sub == '')
|
||||||
|
return false;
|
||||||
|
|
||||||
// All is right, go ! Create ur domain !
|
// All is right, go ! Create ur domain !
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue