Sentora Support Forums
Automatic domains in SOA record - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: General Forums - (Non-Sentora Support) (https://senforums.mach-hosting.com/forumdisplay.php?fid=1)
+--- Forum: General Discussions (Non-Support Related) (https://senforums.mach-hosting.com/forumdisplay.php?fid=2)
+--- Thread: Automatic domains in SOA record (/showthread.php?tid=1062)



Automatic domains in SOA record - Ron-e - 02-16-2015

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(); 



RE: Automatic domains in SOA record - Edábio de Araujo Lopes - 04-08-2015

You cannot add a Sub-Domain here. Please use the Subdomain manager to add Sub-Domains.


RE: Automatic domains in SOA record - Ron-e - 04-09-2015

I know i can't add an subdomain there, that was not my question..
The rest is like chinese for me, but i think it's spanisch. Tongue


RE: Automatic domains in SOA record - apinto - 04-09-2015

(04-09-2015, 12:13 AM)Ron-e Wrote: I know i can't add an subdomain there, that was not my question..
The rest is like chinese for me, but i think it's spanisch. Tongue

He is not replying to you at all... I will translate (oh and it is Brazilian Portuguese Wink )

(04-08-2015, 09:22 PM)Edábio de Araujo Lopes (translated from Brazilian Portuguese by: apinto) Wrote: There's some failure in my hosting ..., I try to add the domain : importarrelogios.blog.br  eand I get this message:
You cannot add a Sub-Domain here. Please use the Subdomain manager to add Sub-Domains.

What shall I do?

att.Edábio
Thank You!



RE: Automatic domains in SOA record - wormsunited - 04-09-2015

@Edábio de Araujo Lopes, @Ron-e,

@Edábio de Araujo Lopes
Tens de escrever em inglês para que todos entendam, mas de toda a forma esse erro significa que tens de criar os sub-domínios na área adequada.
--
You have to type your questions in English for everyone to understand, meanwille your error means you need to create your sub-domains in the proper area and not in your domain area.

@Ron-e
That was in Portuguese-Brazilian however, he got a error because he is creating sub-domains in the domain area LOL

@apinto
Há cada maluco por estas bandas, podiam ao menos ler o que vem escrito ou usar o Google translator Wink
--
There is a lot of crazy people arround here, they could at least check the error messages using Google Translator Wink


RE: Automatic domains in SOA record - calleros - 11-09-2016

(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