(02-16-2015, 02:09 AM)Ron-e Wrote: Is it possible to add an feature to set a standard domain name for the ns1 and postmaster SOA record as hosting admin/reseller if you want use the same nameservers on all domains for your customers?
A bit like the dns records you can set in mysql under x_dns_create?
/etc/sentora/panel/modules/dns_manager/hooks/OnDaemonRun.hook.php
PHP Code:$line .= "@ IN SOA ns1." . $DomainName . ". postmaster." . $DomainName . ". (" . fs_filehandler::NewLine();
What I do is change the file
sudo nano /etc/sentora/configs/bind/zones/yourdomain.com.txt
and i change the 2nd line
PHP Code:
$TTL 10800
@ IN SOA ns1.yourdomain.com. postmaster.yourdomain.com. (
to
PHP Code:
$TTL 10800
@ IN SOA ns1.the_nameserver_thah_you_want.com. postmaster.yourdomain.com. (
but i have to do that on each domain and dont add anything else on the DNS Manager from Control Panel because that override the change that you made