• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 759
  • Last Modified:

Microsoft DNS - Multiple ns server on same server

Hello ..

I have ns1.domain.com .. on microsoft DNS, and its working ok !

I need that this server also kan be used to answer for ns.domain2.com and ns.domain3.com .. and more..  

When i make a new zone right now it auto make 1 x ns record that is ns1.domain.com. But if the zone i make ns is ns1.domain2.com . so this is a problem..

SOA is no problem, Just that the

How do i make this work ?

I use dnscmd ..
dnscmd localhost /zoneadd  raller.com /primary /file raller.com.dns
dnscmd localhost /config raller.com /AllowUpdate 1
dnscmd localhost /recordadd raller.com @ 300 SOA ns1.domain2.com hostmaster.domain2.com 2005041116 86400 7200 604800 300
dnscmd localhost /recordadd raller.com @ 300 NS ns2.domain2.com
dnscmd localhost /recordadd raller.com @ 300 NS ns1.domain2.com
echo y|dnscmd localhost /recorddelete raller.com @ 300 NS ns1.domain.com (deleted the ns1.domain.com ns record, it works but ...)
dnscmd  /zonereload raller.com (return of the ns1.domain.com )

-----------------------------------------------------------------------

Zone file raller.com.dns

@                       NS      ns2.domain2.dk.
@                       NS      ns1.domain2.dk.
@                       NS      ns1.domain.dk.
0
radut
Asked:
radut
  • 3
  • 2
1 Solution
 
JamesDSCommented:
radut
You could use CNAMEs (Aliases) in each domain.

After you set up the new zone, you create a CNAME record and point it to NS1.DOMAIN.COM

That way you will be able to resolve NSx.DOMAINx.COM from each domain.

Cheers

JamesDS
0
 
radutAuthor Commented:
Hello ..

Yes... but i do not what to that the you kan se that the domain is in ns1.domain.dk but ind ns1.domain2.dk so it looks link raller.com is only in raller.com ns1.domain2 and no other DNS
0
 
JamesDSCommented:
radut

If you're running all the zones off the same server, then you have no choice.

It is not possible to give the same server many host names without using CNAMEs.

Cheers

JamesDS
0
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

 
radutAuthor Commented:
Hello ..
 

I works ok on BIND or other LINUX dns... is there no way ?

Do you have a zone for sample for the CNAME you talk about.. ?

/ radut
0
 
JamesDSCommented:
radut

What you could try is CNAME NS1.DOMAIN1.COM in zone DOMAIN.COM and then edit the SOA in DOMAIN1.COM to point to the alias instead.

That SHOULD make the fact that all zones are running on one DNS Server invisible to the user.

I have never tested it though and I don't have a DNS Server handy to play with!

Cheers

JamesDS
0
 
Wayne BarronCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
[Accept: JamesDS]

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Carrzkiss
EE Cleanup Volunteer
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now