This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Modify the default DNS records
#1
Modify the default DNS records
How can I modify the default DNS records for new domains. I want to add a CNAME record that points panel.clientsdomain.com to the Sentora panel at panel.mydomain.com. Is there a way that I can modify the default zone file that all new domains use to automatically include that record or do I have to add it to each new domain manually?
Reply
Thanks given by:
#2
RE: Modify the default DNS records
You may be able to edit the table x_dns_create to do what you wish. But i am not sure if this also will make the proper vhost addition. I think that will require custom coding of the core files.
(testing now to see if a simple A record will work)
Technically this should work as any domain/subdomain that points to the server IP should automatically load the panel login screen.
-TGates - Project Council

SEARCH the Forums or read theĀ DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: blazerunner44
#3
RE: Modify the default DNS records
(03-02-2015, 01:48 PM)TGates Wrote: You may be able to edit the table x_dns_create to do what you wish.

I added an A record to the x_dns_create table and used the :IP: variable as the target. It works great. The only difficulty I ran into was finding out the root mysql password :p but I finally found it in /root/passwords.txt

Thanks for the help!
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
SRV Records? Surf3rDud3 1 5 ,938 12-22-2016, 10:16 AM
Last Post: Surf3rDud3
DNS Manager - Can't create records with LAN IPs phoenix-ck 4 14 ,747 02-22-2016, 09:19 PM
Last Post: Me.B
Cant set TXT records... Tango 3 10 ,625 09-15-2015, 01:35 AM
Last Post: Tango

Forum Jump:


Users browsing this thread: 1 Guest(s)