W DirectAdmin' ie, tak to działa i ten ktoś o tym wie, bo sam używa DA :) .
Oto oficjalne stanowisko pomocy technicznej DirectAdmin w tej sprawie:
" For many major domains, if you try to create them, you'll get a "Forbidden Domain" notice, so facebook.com would be denied. (and gmail, hotmail, etc)
The list is at:
/usr/local/directadmin/data/templates/forbidden_domains.list
eg, facebook.com is in the list.
But we're not able to add every domain on the internet.. as clients moving servers should still be allowed.
There are various options if you need more control:
1) Like disabling the local domain by default: https://help.directadmin.com/item.php?id=238
Note that email won't work until the domain's "local mailserver" MX setting is changed.
2) The 1.56.0 version (not yet release, but pre-release binaries available) can prevent Users from deleting/adding domains: https://www.directadmin.com/features.php?id=2275
3) Or notify the Admin for any new domain being created, by creating:
/usr/local/directadmin/scripts/custom/domain_create_post.sh
with code to send an email to Admin about the domain name.. in case manual scanning of the newly added domain might help for the non-major domain cases (not a great option, but a 2nd level of scanning)
--
Thank you
John