Windows 2000 DNS Forwarding

Transition

Banned
Sep 8, 2001
2,615
0
0
Alright - here's the situation. Setup a corporate intranet on our lan, the intranet is running on, lets say 192.168.0.2. Our DNS server is running on 192.168.0.1. I've created a forward lookup zone for intranet.com which works great, people can go through and type http://intranet.com or http://www.intranet.com and it resolves properly to our local server. My problem comes in when i try to make http://intranet resolve to 192.168.0.2 (the intranet machine). I've created aliases for 'intranet' that point to www.intranet.com, doesn't work. I even setup a new forwarding zone (intranet) to forward to the intranet with no luck. So, i can get both www.intranet.com and intranet.com to work, but it seems just trying to have http://intranet resolve won't work. I've also made sure i'm flushing the dns records (ipconfig /flushdns & ipconfig /registerdns) to make sure i'm not working off cached files.

Any tips to get this working?

Thanks!
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
If you are just using a single host name like 'intranet', you'll need to set a default domain name on the clients under network properties.

A DNS server can only answer queries for things like internet.intranet.com or www.intranet.com, not a single host name.

by providing a domain name on the clients (or search domains0 the client will append the domain name to the single host name. So when you type in 'intranet', the client will ask the name server for intranet.<search domain>
 

Lordicus

Member
Aug 14, 2004
45
0
0
What is the name of the 192.168.0.2 computer?

Have you tried adding Intranet to your host file?

192.168.0.2 Intranet

I believe if the pc name is set to Intranet and you add the record to your host file on each machine, it should resolve. From what I know DNS can only manage (Im not sure of the terminology) 2 names. (EG- sony.com ... stm.info)
Single names are set with host / lmhost.

Hope this helps!
 

Transition

Banned
Sep 8, 2001
2,615
0
0
Hi Spidey,

Not sure what you mean by saying 'providing a domain name on the clients'? Sorry, but any specifics on how to set this up?
 

Transition

Banned
Sep 8, 2001
2,615
0
0
Originally posted by: Lordicus
What is the name of the 192.168.0.2 computer?

Have you tried adding Intranet to your host file?

192.168.0.2 Intranet

I believe if the pc name is set to Intranet and you add the record to your host file on each machine, it should resolve. From what I know DNS can only manage (Im not sure of the terminology) 2 names. (EG- sony.com ... stm.info)
Single names are set with host / lmhost.

Hope this helps!

Name of the 192.168.0.2 is 'dev'. I just tried adding the entry to my host file, no luck.
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Originally posted by: Transition
Hi Spidey,

Not sure what you mean by saying 'providing a domain name on the clients'? Sorry, but any specifics on how to set this up?

you can provide it with your DHCP server or you can configure one under network control panel/TCP/IP properties/DNS
 

VirtualLarry

No Lifer
Aug 25, 2001
56,570
10,204
126
Originally posted by: Transition
Name of the 192.168.0.2 is 'dev'. I just tried adding the entry to my host file, no luck.

Some names, like "dev", and "com" and "con" and "aux" are reserved names under DOS/Windows. I wouldn't use them for anything important. (Not sure that would cause an issue with web browsers, but it definately could if someone tried to connect to a server using "Run..." and typed in "\\dev\foo" - Oops!)