[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Automating Subdomains using Perl & DNS Refresh
- Subject: [cobalt-users] Automating Subdomains using Perl & DNS Refresh
- From: "Cobalt List Account - Auzit.com" <cobalt@xxxxxxxxx>
- Date: Sat Oct 19 00:20:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
I read this article about a week ago (
http://list.cobalt.com/pipermail/cobalt-users/2001-
December/060888.html ) when searching for a method of adding user
subdomains for a raq and was interested in whether this process could
be automated using perl; If I were to simply edit the subdomains.conf
file, appending new subdomains to it upon an event e.g. user signup.
What I am unsure about though, is the part in the article about
allowing ExecCGI.
"ExecCGI (classic CGI) for either the entire server (not secure)";
If I were to enable it for the entire server what security problems
would I have.
And secondly, the line...
"Restart httpd.conf" I know this needs to be done to to reset the
domains but I was wondering if this could be left out and refreshed at
a certain time or interval automatically, I've heard that raqs refresh
the DNS after a certain time but I am not sure if this is true;
otherwise if not would I be able to refresh using the perl module
Schedule::At (http://search.cpan.org/author/JOSERODR/Schedule-At-
1.04/At.pm) to call the command at a specific time (The reason I want
this is if I have say 10 users signup in an hour I don't want the DNS
refreshing every 6 mins; instead I want it to store the requests and
perform them all at once (i.e. every 2 hours).
If anyone can help me with the info I need; could you please reply.
James Austin