[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Shell Program for Creating New Sites.. RAQ 4 - For Gerald



On Friday 21 June 2002 08:49 am, Fragga wrote:
> hi gerald,
>
> i used the script which u advised however this only seems to create
> the folders and modify httpd.conf file. It doesnt appear to modify or
> create any DNS records ? Maybe i`m missing something here but whats
> the point of this script if u can create the site from the command line
> but you either have to add the DNS records using the GUI or manually
> create the records yourself ? i did a man addvsite however there was no
> mention of being able to create the address a, mx records, etc etc with the
> tool ...
>
> Any ideas ?

Modify the script to add DNS...
It is still better than starting from scratch...

look at the file /etc/named/records for an idea
then change the addvxite script to write into /etc/named/records
Of course you will have to find out how to issue save from the DNS GUI,

Or modify the script to make /etc/named/pri.newsite.tld files and modify 
the/etc/named.conf file,  and issue `ndc reload`

-- 
Gerald Waugh 
http://frontstreetnetworks.com  SOHO Networks & Web Site Hosting
Front Street Networks LLC     voice +1 203 785 0699 * fax +1 203 785 1787
229 Front Street, Ste. #C, New Haven CT 06513-3203