Welcome, Guest
Please Login or Register.
Lost Password?
Re:BIND DNS CONFIGURATION AND VIRTUAL SERVER CREAT (1 viewing)
Post Reply

TOPIC: Re:BIND DNS CONFIGURATION AND VIRTUAL SERVER CREAT

#17987
adl (User)
Posts: 9
graphgraph
Re:BIND DNS CONFIGURATION AND VIRTUAL SERVER CREATION 2008/11/18 07:33  
So, I hope to be clear. I configure Bind from menĂ¹ WebMin>Server>Bind DNS Server to create zone files like this:
$ttl 86400
pippo.it. IN SOA "name of the server". "email". (
1227027259
86400
1800
605000
86400 )
pippo.it. IN NS "name of the server".
pop3. IN CNAME "name of the server"
imap. IN CNAME "name of the server"
smtp. IN CNAME "name of the server"
www. IN A "public ip server"
pippo.it. IN NS "name of the server".
pippo.it. IN MX 10 "name of the server".

It works well, but when I create a new Virtual Server from menĂ¹ Virtualmin>Create Virtual Server, the zone file is created like this:
$ttl 86400
@ IN SOA "name of the server". "email". (
1227027823
86400
1800
605000
86400 )
@ IN NS "name of the server".
pippo.it. IN A 192.168.1.10
www.pippo.it. IN A 192.168.1.10
ftp.pippo.it. IN A 192.168.1.10
m.pippo.it. IN A 192.168.1.10
localhost.pippo.it. IN A 127.0.0.1
webmail.pippo.it. IN A 192.168.1.10
admin.pippo.it. IN A 192.168.1.10
pippo.it. IN TXT "v=spf1 a mx a:pippo.it ip4:192.168.1.10 ?all"

I think this is the default.
Then i tell you the problem and after your suggestion I configure Vitualmin Server Template to create Bind zone files with the option "Use only the records above" and this template:
$ORIGIN $DOM.
$TTL 86400 ; 1 day
@ IN SOA "name of server". "email".
( 2004102702 ;serial
86400 ;refresh
1800 ;retry
605000 ;expire
86400 ;TTL
)
@ IN NS "name of server".
@ IN NS "name of server".
@ IN MX 10 "name of server".
pop3. IN CNAME "name of server".
imap. IN CNAME "name of server".
smtp. IN CNAME "name of server".
www. IN A "server ip"

I ask you why Virtualmin don't use the Bind configuration i made in WebMin? Do I made any mistake? There is something else to configure?

Thanks.
  The administrator has disabled public write access.
#17993
JamieCameron (Admin)
Posts: 374
graphgraph
Re:BIND DNS CONFIGURATION AND VIRTUAL SERVER CREAT 2008/11/18 08:18  
Currently, Virtualmin has it's own template for BIND records that is completely separate from Webmin's BIND module. This was done intentionally, as Virtualmin can have multiple templates, and the records you want for web hosting may be different from other domains.

So did your third template below work OK? If not, what was going wrong exactly?
  The administrator has disabled public write access.
#18050
adl (User)
Posts: 9
graphgraph
Re:BIND DNS CONFIGURATION AND VIRTUAL SERVER CREAT 2008/11/19 06:38  
Yes it works. I just want to know how is the working relationship between the virtualmin and webmin for Bind Dns Server. Thank you for explanation. Have a nice day.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.