 | |
12-10-2003, 08:03 PM
|
#1 (permalink)
| | Registered User
Join Date: Dec 2003
Posts: 11
| » 
win2k Serv dns/dhcp setup HELP!!!!
I am setting up a domain at my house. I have setup dns, dhcp, and ad.
My network is connected to a netgear 614 router. I have disabled dhcp on the router and configured the server as dhcp.
I have added dns fowards to the two isp dns servers.
My xp boxes can pull ip's and see the intranet but they still can not access the internet.
I tried in dhcp options to add router and add the ip address of my router. This added default gateway to my dhcp settings on my clients but still do not have access to the internet.
What am i doing wrong????
|
| |
12-11-2003, 06:17 AM
|
#2 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Ohio
Posts: 5,577
|
Can the client machines ping an Internet IP address like 216.109.117.66 ?
If yes, can they ping an Internet host name like www.yahoo.com ?
|
| |
12-11-2003, 07:59 AM
|
#3 (permalink)
| | Registered User
Join Date: Dec 2003
Posts: 11
|
Yes, I can ping the internet by ip but not by name. I can access the internet by name from the server. nslookup returns the ip of my server but says non-existant domain. I typed the ls command and it shows the ns. Found something that says that the nslookup problem could have something to do with reverse lookup but I thought reverse lookup was not necessary in my application. Plus, I am not sure how to set it up.
I have the nic in the server static with its own ip address as the dns server and the router as the gateway. The clients pull their ip and get server as it's dns server and the router as the gateway.
I am sure that it is a dns problem but every how to i have read says everything should be working.
|
| |
12-12-2003, 08:17 AM
|
#4 (permalink)
| | Registered User
Join Date: Nov 2001 Location: san diego,20 minutes to TJ
Posts: 372
|
ttt i cant believe we dont have a fixed for this!
__________________
<a href="http://www.dontknowhtml.com "/a>
|
| |
12-12-2003, 08:36 AM
|
#5 (permalink)
| | Registered User
Join Date: Dec 2003
Posts: 11
|
Ok, I fixed it but is nothing like what the how to's say to set it up.
This is what I did... I disconnected the wan from the router(active directory kept saying there was a pdc already). Installed everything and authenticated all pc's to the domain.
In DNS, i deleted the root but instead of adding my isp's dns to dns fowarding, I went to dhcp and configured some options. I added router and entered the ip address of my router, and i added dns and entered the ip address of my server and the two ip's of the isp dns servers.
Everything works now with one exception. When i do nslookup, I still get non-existant domain. Does this have to do with reverse lookup? If so, how do i configure reverse lookup I have not found any help on this.
|
| |
12-12-2003, 08:41 AM
|
#6 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Ohio
Posts: 5,577
|
Sorry, missed your reply to this thread.
Try running ipconfig /flushdns and ipconfig /registerdns
If still a problem, go to the DNS server and test the DNS query there. )DNS MMC, Properties of the DNS server, Monitoring tab, check both boxes the hit Test Now. Does it fail?
Edit - > I missed both replies.
AFAIK, Reverse lookup has nothing to do the the non-existant domain result.
Last edited by DVNT1; 12-12-2003 at 08:46 AM.
|
| |
12-12-2003, 08:59 AM
|
#7 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Reno, NV
Posts: 776
|
Just to get some more info, when you type in nslookup, does it list the IP of a DNS server or does it come up with the error right away.
Have you done and ipconfig /all from the computer you are trying nslookup from to make sure it is getting all the correct DNS IPs? Have you tried restarting the DNS services on the server?
|
| |
12-12-2003, 09:30 AM
|
#8 (permalink)
| | Registered User
Join Date: Dec 2003
Posts: 11
|
it does list the ip of the dns server. When i run nslookup on the server it come up with local host and the 127.0.0.1 ip. When i run it from a client, i get the ip of the dns but non-existant domain.
When I installed win2k server, and ran the setup to make it the pdc, i set the nic with a static ip 10.10.1.1 and the dns to 127.0.0.1. I did not change this. The clients are dhcp and I had to set up dns in dhcp to send 10.10.1.1 and the two ip's of the ips dns servers for it's dns.
The odd thing i thought was that the I never told the server what the isp's dns servers were and it could access the internet by just adding the default gateway to it's tcp/ip settings but the clients could not access the interent untill i added the dns to the dchp settings and that dns fowarding would not work.
I am at work so I will not be able to do any testing untill i get home this evening.
|
| |
12-12-2003, 11:22 AM
|
#9 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Reno, NV
Posts: 776
|
Ok, the 127.0.0.1 is probably your problem. That IP address is the default windows gives for the NIC cards loop back (some thing lik that).
Your DNS servers IP should be the same as your pdc. 10.10.1.1. In your DHCP settings, change the DNS IP to 10.10.1.1, and in your DNS, keep your ISP's DNS servers as your forwaders. Once you get the changes in you DHCP, go to a client workstation and from the command line do a ipconfig /release, then ipconfig /renew, so that the client can get the new IP addresses. Then do an ipconfig /all to make sure that the DNS IP is the same as your PDC (10.10.1.1).
Then try nslookup. That should fix your problems.
|
| |
12-12-2003, 11:45 AM
|
#10 (permalink)
| | Registered User
Join Date: Dec 2003
Posts: 11
|
the pdc dhcp and dns are on the same machine. I will change that to 10.10.1.1 in the tcp/ip settings.
I did have it set to that but still did not make a difference.
I did origionaly have the server set up with the dns fowards to the isp dns servers.
Here is what i origional had setup:
Router ip is 10.10.1.2
1 server setup with ad, dns, dhcp
3 stations dhcp
1 print server dchp with ip in reserve
I set the servers nic to 10.10.1.1 subnet 255.0.0.0 gateway 10.10.1.2 and dns to 10.10.1.1. I set dhcp scope to 10.0.0.3 to 10.0.0.100 with router option set to 10.10.1.2. I deleted the root and added 24.221.30.4 and 24.221.192.5 to the dns fowards.
At that point, I could access the internet from the server.
I did an ipconfig /release and /renew on each of my clients as well as a flushdns and registerdns.
My clients could not access the internet but could see the server and the other clients by name and by ip.
I thought i might had messed up something during install, so i reinstalled the os and went through the configre server to set up the server as the pdc, dns, dhcp, etc...(that is where the 127.0.0.1 was added to the tcp/ip settings for the dns server) I tried to setup the foward but it still would not work.
That is when I had the idea to add the isp dns to the dhcp settings and remove the foward. Then everything started working.
During the first install and the second install, nslookup never worked.
Can you see a step i might of missed during settup?
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions  | | | | | Recent Discussions  | | | | | |