Computing.Net > Forums > Networking > DNS on win server 2003 with 2 NICs

DNS on win server 2003 with 2 NICs

Reply to Message Icon

Original Message
Name: warmncandid
Date: July 27, 2007 at 23:36:48 Pacific
Subject: DNS on win server 2003 with 2 NICs
OS: Windwos Server 2003
CPU/Ram: INtel PIII/ 288 MB
Model/Manufacturer: unbranded
Comment:

I have been trying to do similar stuff. Here is a brief overview of what i actually wanted to achieve.
1. Run windows Server 2003 as the single AD domain controller. no other DCs in the domain.
2. Run DNS on this single server to serve for local name resolution as well as resolving internet names.
3. This server is a dual-homed computer, one nic is connected to the local LAN and the other NIC is connected to the internet through a router.

IP addresses i am using is as following:

Local LAN card:
IP on server: 10.1.1.1
subnet mask: 255.0.0.0
gateway not set on this interface
DNS pointing to 10.1.1.1

Register this connections address in DNS and use this connections DNS Suffix in DNS registration both ticked.

Server interface connected to router takes its IP from router's DHCP which is in the range 192.168.2.2 - 192.168.2.32
Router's internal IP is 192.168.2.1.
The second interface is pointing to 10.1.1.1 as its DNS server.
Register this connections address in DNS and use this connections DNS Suffix in DNS registration both are NOT ticked.
I have not set any gateway on any of the interfaces. RRAS is not configured on the system and its not running any routing. ALSO no forwaders have been set in DNS settings.

MY DNS works perfectly. It resolves internal as well as external names successfully.
I have reached this solution after playing around with the setup for a while. Though the system is working perfectly at the moment, I am not sure what will happen when i would enable RRAS on this server and try to configure VPN.

What I do not understand is that how is this whole system working here - no forwaders set to forward the external resolution queries to, no routing configured to route packets to the external side interface. Just dont understand whats happening here and how is it working. COnfiguration explained above might help others to configure their dual-homes DCs on windows 2003. BUT I STILL NEED SOMEONE TO HELP ME UNDERSTAND HOW IS THIS WORKING????? PLS COMMENT

warmncandid


Report Offensive Message For Removal


Response Number 1
Name: Curt R
Date: July 29, 2007 at 07:32:18 Pacific
Reply: (edit)

From what I see of your setup, it shouldn't work.

Typically, in a small LAN, you would want all devices, including the router's internal interface, within the same subnet.

In all honesty, unless you're using the server itself to host the internet for your LAN, you don't need two NIC's on it. If you are using the server to "host" the internet, you would need RRAS/NAT or at the very least ICS along with dual NIC's (one external, one internal).

For this, your setup would be:

Internet >> router >> switch >> server(s) + clients

I suspect somehow, you're getting your DNS resolution from your ISP on the external NIC. Do you have any client PC's in your LAN? Are they able to get DNS resolution too? I would wager your clients aren't getting any resolution.


Report Offensive Follow Up For Removal

Response Number 2
Name: warmncandid
Date: July 30, 2007 at 07:25:43 Pacific
Reply: (edit)

Thanx very much for responding Curt.. I was basically trying to configure this server as a VPN server and thats why i put two NICs in it. Also i would like to mention that i was using Port forwarding on my router because i dont have a public IP for this VPN server.
Ans I did try with a client machine and the DNS was resolving perfectly. I agree that logically speaking it should not work and thats why i put the question here.. in case someone might have an insight..


warmncandid


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: DNS on win server 2003 with 2 NICs

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge