Welcome, Guest
Please Login or Register.
Lost Password?
Re: Nameservers.... (1 viewing)
Post Reply

TOPIC: Re: Nameservers....

#4035
kcackler (User)
Posts: 66
graphgraph
Nameservers.... 2007/03/05 10:59  
So..virtualmin, when I create a domain, is adding thatscriptguy.com. as the one and only nameserver for domains. HOWEVER, the domains are set up at the registrar with ns1.thatscriptguy.com and ns2.thatscriptguy.com as the nameservers. How do I make virtualmin add those as nameservers instead of thatscriptguy.com.?

Kevin
  The administrator has disabled public write access.
#4037
Joe (Admin)
Posts: 4213
graph
Re: Nameservers.... 2007/03/05 14:38  
Hey Kevin,

The value is auto-detected at config check time...but it seems that it's usually not the value people want (it ought to work, if the hostname is correctly resolving, but it usually doesn't match what people want it to be). So pretty soon I'll be adding a dialog during the install.sh, or a simple form within Virtualmin itself, to set this.

Anyway, it's easy to correct:

The primary can be set in the Webmin BIND module configuration. The option is "Default master server for master zones" in the "Zone file options" section. Set it to ns1.thatscriptguy.com.

The secondary is a bit more "magic" as it comes from the automatic slave server configuration (e.g. it's all automatically configured for you, if you follow the steps in[a href="http://www.virtualmin.com/support/documentation/virtualmin-dns-slaves/">the Automatic DNS Slaves Quickstart...just fill in ns2.thatscriptguy.com in the "Name for NS record" field when creating it).

If you aren't using automatic slave setup (I'd recommend you use it, as it'll save you a lot of time), then you'll have to add the new NS record to your Server Template(s) in the BIND DNS Domain section in the field labeled "BIND DNS records for new domains". You'd add:

${DOM} 38400 IN NS ns2.thatscriptguy.com

And choose "Add above to automatically generated records".

Save it.
  The administrator has disabled public write access.
#4039
kcackler (User)
Posts: 66
graphgraph
Re: Nameservers.... 2007/03/05 15:33  
Thanks Joe. I had added ns2 to the template but didn't know where the main was coming from....
  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.