|
From: Jamie C. <jca...@we...> - 2006-03-30 07:57:04
|
On 29/Mar/2006 00:12 RYAN vAN GINNEKEN wrote ..
> First of i am getting really close to making my life alot easier through
> the uses of your great program. Hoping all the time i put in now will
> save me time in the near future.
>
> When virtualmin adds a zone it always adds it to the
> /usr/local/etc/named.conf directory this does not work for me i need it
> to be added to the /usr/local/etc/namedb/webmin/zones.file. I have made
> the adjustment in the dns server module config by checking the Add new
> zones to file and adding this to the dialog box
> /usr/local/etc/namedb/webmin/zones.file.
So is Webmin/Virtualmin doing the right thing after you make this change?
> When creating the apache site webmin seems to do a great job adding the
> apache web directives to to new file /usr/local/etc/apache/vhost.conf
> but adds the below. I would like to see *:80 rather than an ip address
> also it seems to leave behind a bunch of these enteries when i delete
> virtual servers.
>
> <VirtualHost 68.146.204.152:80>
> </VirtualHost>
> <VirtualHost 68.146.204.152:80>
> </VirtualHost>
>
> I have added these directives to the apache directive box is that the
> best/only way seems alittle messy? can i use a template file or something.
Do you mean you added the actual <Virtualhost> lines to the template? That
is not needed, as they are added automatically .. in fact, adding them could
cause problems deleting.
> Lastly when the zone file gets created it goes where is should and
> contains some of what it should. However when i add additionally needed
> records to the dialog box for virtual servers it adds nothing to my zone
> file. I tried adding zone info into the dns module but it only allows
> room for two entries and the format of the template file is unclear to
> me.
You need to add extra records in the BIND zone file format to the 'BIND DNS
records for new domains' field in the template, like
foo IN A ${IP}
These will then be added to the zone file for a new domain, but only
when it is created.
- Jamie
|