?
Solved

WIndows 2000 Server w/ 2 Nics DNS Problem

Posted on 2003-03-26
5
Medium Priority
?
249 Views
Last Modified: 2010-03-19
I have a windows 2000 server with 2 nics (2 networks) I have the Routing and remote access service performing Nat and using the DHCP relay agent to distribute private IP's to my internal dhcp client machines. This setup is working well and I am getting Internet access. Remember 1 nic is to my cable modem and the other nic is to a switch for my internal network.

Problem, when I join my windows 2k professional desktop to my server it goes well, but the DNS resolution is taking place from the ISP dns instead of my server's DNS. NSlookup is unable to locate the DNS server 192.168.0.1  I have checked all configurations and I believe it is my DNS server config. I only have mydomain.com in the forward lookup zone (no ".") whatsoever. I was having a problem prior to this and thought I fixed it by re-installing DNS on that server because I added a member server and was unable to run dcpromo because IT TOO couldnt find the DNS server. After removing and reinstalling the DNS server it fixed it. Here is the scary part. when I removed and stopped the dns server in my root server. My clients were still reaching the internet. It's obviously not paying my little DNS server on my root DC any mind. However my dcpromo worked yesterday so I thought all was well until I was unable to do a manage from AD to my client 2k pro pc. Error states unable to find client.mydomain.com .. I went to the client machine and ran a NSlookup and for sure, its not finding it. I ran nslookup to a legit Internet site and its using my ISP DNS. HELP!
0
Comment
Question by:rarecatch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:joeyxiong
ID: 8212897
Make sure that your DNS server IP address is the primary DNS in its TCP/IP properties.  Windows 2000 refers to this as the Preferred DNS Server.  Use both DNS's from your ISP as Alternates.
0
 

Author Comment

by:rarecatch
ID: 8213177
My DNS server's IP Address is the only IP address in my tcp/ip config.  

My server has 2 network properties .. 1 for the Nic to my cable modem that the ISP issues the IP and DNS ( in which changes because its leased) and ..... the other Nic is to my switch for my internal network.

NIC to ISP\Cable Modem config : obtain IP address automatically, and for the DNS its obtain as well.

NIC to Switch: Static : 192.168.0.1 255.255.255.0 and DNS is 192.168.0.1 (Same as win2k server)

Im using Routing and remote access on my server to act as a router with the DHCP relay ( the dhcp relay acts as a dhcp server with internal to external routing of packets for internet access)

My client 2k pro is setup to obtain automatically with the DNS statically configured to my win2k server 192.168.0.1

I can map to my server share fine. and get internet. but when I try to do a manage on the computer from my DC the error I recieve is \\compuer.mydomain.com cannot be managed. the network path was not found. Its not registering the computer to the DNS server to be resolved. I can do a manage if I use the IP address though.

I am now able to do an NSlookup on both the DC and the win2kPRO workstation and get a default server as MYDC.domain.com now :-) I changed the DNS from obtain to my servers IP address for the ISP NIC Tcp\ip setting. But still unable to manage that 2kpro client from my DC without using straight IP

0
 

Expert Comment

by:froggy3132000
ID: 8213649
Just go in to DNS snap-in and create a record for you 2kpro client.
0
 
LVL 1

Accepted Solution

by:
Sebastien_B earned 150 total points
ID: 8213958
It sounds like you misconfigured all that,

The "DHCP relay client" is not for you, in your example it will try to distribute some IP from your ISP to your LAN clients (so it will also push the ISP ip-config to your clients...) a simple DHCP server will be fine.

You should try configuring your DNS on W2KSRV to use "forwarders" (the ISP's DNS)

On your DHCP Server (not relay !), configure it to distribute ONLY your local DNS 192.168.0.1 (then if it cannot handle the name resolution, it will request the ISP's DNS for help)

Now stop configuring anything manually on your clients...

Tip : As you're using a private range for a few hosts, why don't you simply enable the Internet Connection Sharing ??
(Can be set from the ISP/Cable NIC properties, it will set the other NIC to 192.168.0.1...)

All will rock easily :)


Seb
0
 

Author Comment

by:rarecatch
ID: 8214741
Hey for all that have the setup I have I must say that I finally fixed my problem. Took me all day but I did it. Hey Sebastien thanks for the push in getting me to stray away from that dhcp "allocator" sorry I have been posting relay agent but I really mean allocator from within Microsofts NAT Options under Routing and Remote Access.

Problem: Unable to get my clients to register to DNS even with the force ipconfig /registerdns option.. still failed.

Fix: Disconnected my Cable Modem, Then Established a DHCP Server ( fully configured, scope and etc..) For some reason I tried to start the DHCP server and it picked up my ISP's DHCP**WIERD** I am still using Routing and Remote Access but withing the DHCP, just routing between the two interfaces (Nics). ! HEY , I dont like the easy way out, NO easy Share connections from Network properties ! I also had to be sure to add option 003 in the Scope Options of my DHCP server so that my clients would all recieve the default gateway of my DC. I also added the DNS Server as part of my Scope , again my DC IP. It seems the DHCP allocator just doesn't work well with client DNS registering.  Aaaaannnnd I added Forwarders! I really wanted to fix this without doing all that I did, I hate to just take the common road. I prefer troubleshooting helps me learn the other avenues. But I QUIT, DHCP "SERVER" it is , Thanks Sebastien
0

Featured Post

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question