DNS/win2k question

runboy

Member
Dec 6, 2000
96
0
0
What happens in the following setup in win 2k server:

Lets say you are hosting 10 websites on your server. The aites use 1 IP adress all together and are differentiated by host header names. 5 og the websites use ns1.domaine.com & ns2.domaine.com as nameservers and the last 5 use ns3.domaine.com & ns4.domaine.com as nameservers.
For this reason you have ofcourse listed all 4 nameservers in the Advanced TCP/IP settings.

What happens if somebody makes a lookup on the IP adress ? Will all 4 nameservers be asked or does the process when asking ns1 which replies with the 5 of the domaines ?

 

Wizkid

Platinum Member
Oct 11, 1999
2,728
0
0
Actually, chances are they will get your ISP and nothing about the web sites at all if they do a reverse lookup on the ip.
 

rootaxs

Platinum Member
Oct 22, 2000
2,487
0
71
I'm not really sure i understood your post but lemme try.

10 sites - 1 IP (Virtual hosting via host headers)
5 sites @ ns1/ns2
5 sites @ ns3/ns4

You're wondering which nameserver handles the request if someone does a lookup? The exact ns that it's set-up for. If the domain is set-up on the registry (e.g. Register.com/Internic) to have ns1 and ns2 then only those two will be looked up, unless of course you have additional records on these nameservers.
 

runboy

Member
Dec 6, 2000
96
0
0
Well if you do a lookup on the ip adress a query is first sent to the server with the Ip adress which then redirects to a nameserver depending on the entry in the Advanced TCP/IP settings. In these settings all 4 nameservers are listed, but the question is wether all 4 are asked since the query is succesfull after asking the first nameserver (Except the first nameserver doesn't give the full answer. Only 2 of the domaines)

 

rootaxs

Platinum Member
Oct 22, 2000
2,487
0
71
Ah, i'm starting to see it. Well, all 4 *may* or *may not* be queried - it just depends on the availability of the DNS server itself (Where are ns1/2/3/4 located btw?). But chances are if ns3/4 is being queried it will just go to the root level server again to look for ns1 and ns2 and ask them all over again.

So it's basically, "Hey, this ain't in my list, Gotta ask root about it" Root says it's on ns1 and ns2 so ns3 asks them about it and returns the data back. Ns3 then answers the query (though non-authoritative)