Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DNS issue using a DLS internet 2

Status
Not open for further replies.

LeonBar

MIS
Mar 31, 2003
127
US
I am running server 2k with 14work stations running XP pro and a domain with active directory enabled. the network is running fine. I hooked up DSL internet with a router. in the setting default gateway is the router IP
The prefered DNS is the router, the secondary is the servers address. I restart the machine the internet will not work, If I change the prefered and Alternat addresses apply changes and change them back apply changes the internet works until I restart again. Any suggestions? I am new to this server2k.
thank you
Leon
 
Point your clients to the internal DNS. On the DNS server, include its own address in the DNS location. Only specify the router as the gateway.

On the DNS server, remove the "." in the forward look-up zone. Then enable forwarders. See this Thread: Add the ISP DNS as receipents to forwarded requests.

Hewissa

MCSE, CCNA, CIW
 
Hi Hewissa
Do I have to restart the server after making changes to the DNS? I just want to double-check this. I removed the "." in the forward lookup zone. Followed directions and inserted both primary and backup DNS numbers. So to get the clients to work insert the default gateway that is the IP of the dsl router, the preferred DNS will be the servers IP and the alternate will be blank right?
Do I need to add the 2 DNS numbers in the router also or leave them blank? In the configuration for the router you can insert DNS numbers also, or doesn't it matter. My questions about restarting is because I have limited access to the server off hours. I would have to do this while the server has users connected.
Thank you very much for the help
Leon
 
Your router is the default gateway for all machines, you do not use an alternate gateway or DNS anywhere, those remain blank.

You want your clients to ONLY look at your internal DNS server. Your DNS server looks only at itself i.e. 127.0.0.1, then has a forwarder in the DNS properties that calls to the multiple external DNS servers your ISP provided.

If your router allows you to specify DNS, it could be acting as a DNSd or DNS proxy. In that case, try putting your ISP DNS servers into the router, and specify ONLY the router ip address as the forwarder in your DNS server.

Alex

 
No, no need to restart after you make the changes. The clients won't know the difference either.

"So to get the clients to work insert the default gateway that is the IP of the dsl router, the preferred DNS will be the servers IP and the alternate will be blank right?" - Correct

Do I need to add the 2 DNS numbers in the router also or leave them blank? - Depends on the routers configuration. If set to Dynamic then the DNS will automatically will be assigned from the ISP. If static then you assign it. Make note, the Router is not a DNS server, but a pointer, if DHCP is enabled on the router, it will assign the DNS numbers specified. You could then specify your DNS server IP address and enable the routers DHCP service and it will assign the local servers DNS address to your clients. Are you using DHCP for your clients? Do you have a DHCP server?

I wouldn't assign the loopback address on the DNS setting for the NIC on the DNS server. I would assign the NIC address in the DNS location. Example:

IP - 192.168.1.2

DNS - 192.168.1.2 - This is done on the DNS server.

Nor would I specify the routers DNS settings on the DNS Server. As far as the router is concerned, it should only be referenced as a gateway.


Hewissa

MCSE, CCNA, CIW
 
I assumed that the AD server is also DHCP for the XP clients...a mistake on my part.

The router needs the ISP name servers to provide this to its own DHCP clients, not because it will participate in DNS resolution.

How is the XP machines getting their configurations? Static IP or DHCP?

If DHCP what is the Host?

Alex
 
Hi, I have been following this thread and I have allmost the same problem than Leon.

I have just set my servers as indicated here, but have a following question:

My gateway/router (A linksys one) which act as my dhcp server has the same DNS settings for the internal and external interface!!?

Any ideas about what to do in this case?

Rafael

Rafael Bullrich
RB Computacion SRL
Buenos Aires, Argentina
 
Disable the DHCP on the router and create a dhcp server for your internal network. Configure your internal DHCP to point to your local DNS.

Hewissa

MCSE, CCNA, CIW
 
Sorry?

It's a small network... we have but two servers: PDC (AD) and Mailserver (In fact a W2K PRO)...

Why do you recommend a MS DHCP is better?


Rafael Bullrich
RB Computacion SRL
Buenos Aires, Argentina
 
That depends on how small...

I would use the DHCP server provided in 2K either way. Has more features and is more robust. All your doing is creating a scope for your internal network. The router DHCP "feature", I would consider, is implemented more for home users that have several computers which they want to access a network. If you are running a 2K domain then support it with a 2K DHCP server.

Hewissa

MCSE, CCNA, CIW
 
I will get a chance to apply the changes over the weekend. My network is using static IP addresses, I can't use DHCP because of the special software installed in the system. This is a police dep with a 911 interface that requires static IP addressing. I will let you know how I make out monday.

Leon
 
If you are using static IP address on your clients, then you must manually set the pointer to your DNS on the clients. You can use a static ip on your server and still provide DHCP to the client computers, or even just part of them. Your server should be static, reguardless.
 
I implemented directions above and the system seems to be working fine. No interruption of service during the changes. Thanks for all of the help. I will keep all of this information documented for futures servers that will have to be configured.

If anyone knows of any good online classes dealing with more advanced configurations of server2K or 2003 please let me know.

Leon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top