This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
$ttl 38400
@ IN SOA yyy.xxxx.net. webmaster.${DOM}. (
YYYYDDMM00 ; it's the serial that i wanna be incremented
10800
3600
604800
38400 )
@ IN NS yyy.xxxx.net.
${DOM}. IN A ${IP}
www.${DOM}. IN A ${IP}
ftp.${DOM}. IN A ${IP}
mail.${DOM}. IN A ${IP}
pop.${DOM}. IN A ${IP}
smtp.${DOM}. IN A ${IP}
${DOM}. IN MX 5 mail.${DOM}.
when YYYYDDMM00 : must be incremented after each i change or i create a virtual-server.
Yup, that's all part of what Virtualmin would do automatically for you.
If you'd like to tweak the specifics of how that works, you can change what DNS records get setup in the Virtualmin templates -- in System Settings -> Server Templates -> Default -> BIND DNS Domain.
Also, you can define how exactly the serial number is handled by going into Webmin -> Servers -> BIND DNS Server -> Module Config -> Zone File Options.
But again, anytime you use Virtualmin to modify a DNS record, it already will increment the serial number for you.
Hi man thank's for ur quick answer, so if i edit the default DOMAIN DNS BIND to :
$ttl 38400
@ IN SOA yyy.xxxx.net. webmaster.${DOM}. (
1235451209 ; it's the serial that i wanna be incremented
10800
3600
604800
38400
)
@ IN NS yyy.xxxx.net.
${DOM}. IN A ${IP}
www.${DOM}. IN A ${IP}
ftp.${DOM}. IN A ${IP}
mail.${DOM}. IN A ${IP}
pop.${DOM}. IN A ${IP}
smtp.${DOM}. IN A ${IP}
${DOM}. IN MX 5 mail.${DOM}.
and also i edit my zone file option to: time-based (AAAAMMJJnn)
but there's another question: why after editing that, i try to add a sub-server just for test, and each time i have the same serial for each sub-server created.
Howdy,
Virtualmin actually handles changing the serial number for you, so you don't actually need to change that part yourself.
-Eric
hi man, i wanna do something like that:
$ttl 38400 @ IN SOA yyy.xxxx.net. webmaster.${DOM}. ( YYYYDDMM00 ; it's the serial that i wanna be incremented 10800 3600 604800 38400 ) @ IN NS yyy.xxxx.net. ${DOM}. IN A ${IP} www.${DOM}. IN A ${IP} ftp.${DOM}. IN A ${IP} mail.${DOM}. IN A ${IP} pop.${DOM}. IN A ${IP} smtp.${DOM}. IN A ${IP} ${DOM}. IN MX 5 mail.${DOM}.
when YYYYDDMM00 : must be incremented after each i change or i create a virtual-server.
Yup, that's all part of what Virtualmin would do automatically for you.
If you'd like to tweak the specifics of how that works, you can change what DNS records get setup in the Virtualmin templates -- in System Settings -> Server Templates -> Default -> BIND DNS Domain.
Also, you can define how exactly the serial number is handled by going into Webmin -> Servers -> BIND DNS Server -> Module Config -> Zone File Options.
But again, anytime you use Virtualmin to modify a DNS record, it already will increment the serial number for you.
-Eric
Hi man thank's for ur quick answer, so if i edit the default DOMAIN DNS BIND to :
$ttl 38400 @ IN SOA yyy.xxxx.net. webmaster.${DOM}. ( 1235451209 ; it's the serial that i wanna be incremented 10800 3600 604800 38400 ) @ IN NS yyy.xxxx.net. ${DOM}. IN A ${IP} www.${DOM}. IN A ${IP} ftp.${DOM}. IN A ${IP} mail.${DOM}. IN A ${IP} pop.${DOM}. IN A ${IP} smtp.${DOM}. IN A ${IP} ${DOM}. IN MX 5 mail.${DOM}.
and also i edit my zone file option to: time-based (AAAAMMJJnn)
but there's another question: why after editing that, i try to add a sub-server just for test, and each time i have the same serial for each sub-server created.
i hope that u understand me.