Server Template Help - DNS template?

3 posts / 0 new
Last post
#1 Tue, 07/22/2008 - 07:09
AlexCook

Server Template Help - DNS template?

Hi,

I need a hand with server templates and BIND DNS.

I want to make a custom DNS setup, but I am a HUGE newbie and I know that the numbers (1181099966, 10800, 3600, 604800, 38400) before the records mean something.

When you create a template the default is "from default settings".

What are those default settings? How do I get my template to correctly create the numbers?

Anyways, if I am not making sense please let me know.

Really appreciate any help!

Alex

Tue, 07/22/2008 - 07:29
andreychek

Hey Alex,

<div class='quote'>I know that the numbers (1181099966, 10800, 3600, 604800, 38400) before the records mean something</div>

Those numbers are described here:

http://en.wikipedia.org/wiki/Zone_file

In essence though, the first is a serial number, and the rest are timeouts for this and that (in seconds).

<div class='quote'>What are those default settings? How do I get my template to correctly create the numbers?</div>

The default settings you're referring to are in the main/default template.

So taking a look at the default template, you'll see that big textarea labeled &quot;BIND DNS records for new domains&quot;.

Everything listed in there is appended to whatever else Virtualmin intends on adding to the zone file.

And that's where this all gets easy -- Virtualmin takes care of the hard part, by adding in sane defaults for those numbers, keeping track of the serial number, and such.

You can tweak a lot of that by clicking Webmin on the top-left, going into Servers, clicking BIND DNS Server, and poking around in the Module Config area.

In my setup, my default template has a handful of host records in &quot;BIND DNS records for new domains&quot;, and all the other templates are simply set to &quot;From default settings&quot;.
-Eric

Tue, 07/22/2008 - 07:50 (Reply to #2)
ronald
ronald's picture

in that module config make sure to set:
Serial number style
Date based (YYYYMMDDnn)

instead of the default.

Topic locked