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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a bogus DNS entry

Status
Not open for further replies.
Feb 27, 2003
50
US
When my users go to login.internetsite.com I want my DNS server to send them to a different IP.

In other words when they try to access one Internet site I want them to be sent to a different Internet site using our internal DNS.

How can this be done?
Thanks
 
create a new forward lookup zone (standard Primary)called "internetsite.com" on your name server. Once in place, add an A record called "login" with the IP address of whereever you want to go.
 
Adding the new forward lookup zone works. But it denies me access to the entire domain.
If I create a new zone called intersite.com and add a host called login. Then login.intersite.com will be redirected properly. But if I try to go to groups.internetsite.com I can't. When I ping the name I get unknown host. Is there a way to change it for only login.internetsite.com without affecting the entire domain?
 
you can add "groups" in there as well. Just give it the actual IP address instead of a redirected one...and yes, you'd need to do this for each sub-site within that domain.
 
Create an alias rather than a host name. As long as you're not trying to share files and only using it for the browser, the alias will work great
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top