Welcome, Guest
Please Login or Register.
Lost Password?
Re:Virtual server DNS Zone defaults (1 viewing)
Post Reply

TOPIC: Re:Virtual server DNS Zone defaults

#12216
molski (User)
Posts: 14
graphgraph
Virtual server DNS Zone defaults 2008/05/06 13:52  
Hi,

When a Virtual Server is created, the following DNS Records are created:

Code:

@    IN    NS    ns1.dnsserver.com. example.com.    IN    A    192.168.1.2 www.example.com.    IN    A    192.168.1.2 ftp.example.com.    IN    A    192.168.1.2 m.example.com.    IN    A    192.168.1.2 mail.example.com.    IN    A    192.168.1.2 example.com.    IN    MX    5 mail.example.com.



Can someone maybe tell me in what file(s) these default records are set on CentOS v.5?
Or is it maybe possible to change (not add) the default records via Virtualmin GPL?


Thanks in advance,

Molski
  The administrator has disabled public write access.
#12223
ronald (User)
Posts: 417
graphgraph
Re:Virtual server DNS Zone defaults 2008/05/06 15:14  
the zone files are listed : /var/named/chroot/var/named/
or use the BIND module in the webmin section under servers
Is this what you mean?
  The administrator has disabled public write access.
#12245
balzercomp (User)
Posts: 33
graphgraph
Re:Virtual server DNS Zone defaults 2008/05/07 05:27  
I don't think that's what molski means. The question is: Where do the default subs (www,ftp,m,mail, localhost) come from? I also didn't find any place where I can set the presets.

Gerald
Regards

Gerald Balzer
Unicum Consulting & Marketing GmbH, Switzerland
  The administrator has disabled public write access.
#12252
molski (User)
Posts: 14
graphgraph
Re:Virtual server DNS Zone defaults 2008/05/07 09:37  
Gerald describes exactly what my problem (and his) is :)


Molski
  The administrator has disabled public write access.
#12258
Joe (Admin)
Posts: 3798
graph
Re:Virtual server DNS Zone defaults 2008/05/07 12:17  
Of course, these can be configured in Server Templates in the BIND DNS Domain section. Just select "Use only the records above" in the "BIND DNS records for new domains" field.

The defaults are hard-coded, but can be over-ridden in as many different ways as you like--you can have unlimited Server Templates and each of them can have wholly different DNS records (or just about anything else). Server Templates are extremely powerful...but somehow we never manage to communicate that to folks. It's like a no man's land where all fear to tread.
  The administrator has disabled public write access.
#12263
ChrisWmJacobs (User)
Posts: 2
graphgraph
Re:Virtual server DNS Zone defaults 2008/05/07 12:58  
Concerning the Server Templates. When a custom Server Templates is made where is it stored. Also when a backup is done on one server and restored on another server, it fails saying that the new server doesn't have that Server Template. What can I do to make it work?

Chris Jacobs
  The administrator has disabled public write access.
#12268
Joe (Admin)
Posts: 3798
graph
Re:Virtual server DNS Zone defaults 2008/05/07 13:45  
Look in the Backup Virtual Servers page (find it in the system level Backup/Restore menu in the lower section of the left-hand pane). Open out the "Features and settings" section and check the box next to Server Templates. All Virtualmin meta-data can be backed up, just like the domain information.
  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.