Combined Zone Files for "Sub-Servers"...

10 posts / 0 new
Last post
#1 Wed, 02/25/2009 - 04:01
tpnsolutions
tpnsolutions's picture

Combined Zone Files for "Sub-Servers"...

*** To date it seems that I either seem to get ignored or appear on the bottom of the list when it comes to responses on my threads. I realize this support when given is done for FREE, but notice a great deal of responses to most other threads within 24 hrs. on average. I would appreciate the same courtesy. Thanks. ***

Joe,

In setting up a "sub-domain" ("sub-domain.my-domain.com") using "sub-server", I'd like to have the zone files combined.

Ex.

my-domain.com => my-domain.com.hosts

AND

sub-domain.my-domain.com => my-domain.com.hosts

It seems this behavior is configurable ONLY when using the "sub-domain" option (which by all accounts has been noted as being depreciated and unrecommended).

However, I like the separation used when setting up "sub-servers" (new sub-server is added to "~username/domains/sub-domain.my-domain.com" directory) as opposed to the way "sub-domains" work (new sub-domain is added to "~username/public_html/sub-domain")

Any help in this area would be appreciated. (a workaround, or a solution respectively)

*** Just to Clarify: I do realize that sub-servers can be totally different domains. In this case, a new zone file would be appropriate. My question is focusing on those domains which are sub-domains of an existing domain. Thanks ***

-- Best Regards, Peter

Wed, 02/25/2009 - 10:16
Joe
Joe's picture

This is configurable for any type of domain. The option "Add sub-domain DNS records to parent domain?" should apply to any sub-domain name. If it doesn't, it's bug-like.

The Sub-domain account type is deprecated and never recommended--it's not even visible if you used the install script to install Virtualmin. It just confuses people.

--

Check out the forum guidelines!

Wed, 02/25/2009 - 10:57 (Reply to #2)
tpnsolutions
tpnsolutions's picture

Ok, well I guess I've stumbled upon a bug.

Are there any work arounds to get this working again as I followed the directions to have sub-domains added to the parent domain prior to posting this thread.

If not is there anything I can provide to aid in a fix for this?

Overall I am very pleased with your product and in a few months plan on upgrading to Pro simply to contribute back to this project.

Thanks in advance for any advice going forward.

--
Best Regards,
Peter

Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Wed, 02/25/2009 - 10:59 (Reply to #3)
Joe
Joe's picture

<div class='quote'>If not is there anything I can provide to aid in a fix for this?</div>

File a ticket. You should include a link to this discussion, in addition to the ticket description, so Jamie has the full story.

The workaround, I guess, would be to live with having separate zones for now. (It doesn't alter whether the names work or not...and as long as you don't add anything custom to the zones after Virtualmin creates them, I think you can just turn DNS off and back on for the virtual server to re-create them with new settings.) ;-)

--

Check out the forum guidelines!

Wed, 02/25/2009 - 16:25 (Reply to #4)
tpnsolutions
tpnsolutions's picture

I understand that there is no official work around or solution for this yet, and will draft up a ticket tonight.

The reason why this is an issue, is because zone transfer do not work with sub-zones like this since my DNS hosting provider does not allow for these sub-zones to be submitted to them. (I guess I'll have to see if I can work something out with them in the meantime.)

--
Best Regards,
Peter

*** Btw: sorry if I sounded harsh when posting the original question. I was merely making an observation, and appreciate you taking a few moments to read and reply to my questions. ***

Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Thu, 02/26/2009 - 06:43
sypher

Im having the same question; using GPL version, tough, i cant find the mentioned &quot;Add sub-domain DNS records to parent domain?&quot;

Where is that?

Im connecting with root and trying to add a subdomain with the &quot;create server&quot; and then selecting &quot;sub domain&quot; and then creating it ...

But still ... cant find the way to add the zone to the master zone of the parent.

How to do ? Is there a kid step to step guide? ... I really dont even see the damn option! :(

Thanks in advance!

Thu, 02/26/2009 - 07:23 (Reply to #6)
andreychek

The option is in System Settings -&gt; Server Templates -&gt; Default Template -&gt; BIND DNS Domain, near the bottom of the screen.

I just verified that it's available in the GPL version.

That option would apply to any new domains you setup.
-Eric

Thu, 02/26/2009 - 07:44 (Reply to #7)
Joe
Joe's picture

It sounds like in Jamie's response in the related ticket that there is currently a bug that prevents this from applying to sub-servers, which will be fixed in the next release. (Though I could be imagining that a ticket was filed and that Jamie responded that way...I'm a bit frazzled lately.)

--

Check out the forum guidelines!

Thu, 02/26/2009 - 07:52
sypher

Thanks;
now i see it ...

Is there any way to make the zone recharge for already created sub servers?

Thanks

Thu, 02/26/2009 - 08:16 (Reply to #9)
Joe
Joe's picture

<div class='quote'>Is there any way to make the zone recharge for already created sub servers?</div>

Assuming you haven't made changes to the zone, it is safe to disable DNS and then re-enable with the new settings, which I believe will recreate the zone file.

But, as I mentioned, I think there is a bug that prevents this from working for sub-servers in the current version--it'll be fixed in the next release.

--

Check out the forum guidelines!

Topic locked