[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RE: DNS SCript
- Subject: [cobalt-users] RE: DNS SCript
- From: Moritz Julian Ehlenz | M2Soft Systemhaus GbR <mjehlenz@xxxxxxxxxx>
- Date: Mon Jun 5 09:51:46 2000
Hi,
> Hi! You can automate this step by doing:
> system("/etc/rc.d/init.d/named restart");
I have almost exactly this line in my script, but it doesn't seem
to work!? Maybe I am just stupid. I'll check that again...
> Also, i have a question. In your script to add teh DNS entry,
> what does the line look like for the SOA in the pri.domain entry?
Well, I am not generating the pri.domain-files myself. Right now
I just click on save changes in the Cobalt interface. But there has
to be a way to automate this, too.
> BEcause i made a script, but i had to change the SOA record via
> teh web interface so the serial number would update. Could you
> please emial me a copy of your script?
-- snip --
print RECORDS "a - $domain$tld $ip 24\n";
print RECORDS "a www $domain$tld $ip 24\n";
print RECORDS "mx - $domain$tld High www.$domain$tld\n";
print RECORDS "soa - $domain$tld
$primary:$secondary:dns\@m2soft.com:10800:3600:604800:86400 -\n";
-- snap --
Cu, Moritz
--
+++ Domain + 1 MB + POP3 für nur 3,33 DM / Monat +++
+++ www.3mark33.de ein Service von www.m2soft.de +++