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?
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. Thanks given by: blazerunner44
(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! |
« Next Oldest | Next Newest »
|
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 |
Users browsing this thread: 1 Guest(s)