Petri.com forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Server Operating Systems > SBS 2000 / 2003
Petri.com is happy to award RicklesP the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read
Notices

Resolving one host name into two different IP addresses

Resolving one host name into two different IP addresses

this thread has 3 replies and has been viewed 7455 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 8th February 2006, 18:34
Hemmo Hemmo is offline
Casual
Casual
 
 Join Date: Mar 2005
  6 month star 12 month star
 Posts: 4
 Reputation: Hemmo is on a distinguished road (10)
Default Resolving one host name into two different IP addresses

Using SBS2003 SP1 Standard Edition & Exchange 2003 SP2.

LAN: Server name: serverbox.home.local with LAN IP address 192.168.0.1
DNS zone in my LAN is home.local

WAN: External IP address 111.222.333.15 (bogus) from ISP
DNS name of my WAN connection: bogus.isp.com
Regular website of ISP: www.isp.com with IP 111.222.333.42 (bogus)

When I am anywhere on the internet, the command "ping bogus.isp.com" results in a working reply from 111.222.333.15.
The command "ping www.isp.com" results in a working reply from 111.222.333.42. This is all fine.

When I am in the office, the command "ping bogus.isp.com" results in a working reply from 111.222.333.15 and www.isp.com returns 111.222.333.42. That's nice, but I want something different.

What I want is a different IP address for bogus.isp.com when I am on my LAN.
The command "ping bogus.isp.com" should result in reply from 192.168.0.1.
The command "ping www.isp.com" should still reply from 111.222.333.42.

So I tried to add the host bogus.isp.com in the DNS of serverbox.home.local with IP 192.168.0.1. No luck.
bogus.isp.com is translated to bogus.isp.com.home.local.

Have tried adding a point (bogus.isp.com.) but the DNS gui refuses that.

Have added a new primary zone isp.com to my DNS, but then I can't find www.isp.com (and all the other ISP hosts) anymore. Removed this test.

Who has the working solution here?
  #2  
Old 10th February 2006, 17:10
netxt's Avatar
netxt netxt is offline
Member
Here to help
 
 Join Date: Jan 2006
  6 month star 12 month star
 Location: Cluj Napoca, Romania
 Posts: 401
  Send a message via Yahoo to netxt
 Reputation: netxt is a jewel in the roughnetxt is a jewel in the roughnetxt is a jewel in the roughnetxt is a jewel in the rough (307)
Default Re: Resolving one host name into two different IP addresses

Hello,
The only way to have it done is to create the isp.com primary zone on your internal DNS server( as you have already done) and manually add all the host you are interested in this zone.
Of course host bogus.isp.com will have its private address.
Regards,
Csaba
  #3  
Old 11th February 2006, 00:00
danielp's Avatar
danielp danielp is offline
Senior Member
Wrote the book
 
 Join Date: Oct 2003
  6 month star 12 month star
 Location: Near Tel-Aviv, Israel
 Posts: 5,185
 Reputation: danielp has much to be proud ofdanielp has much to be proud ofdanielp has much to be proud ofdanielp has much to be proud ofdanielp has much to be proud ofdanielp has much to be proud ofdanielp has much to be proud ofdanielp has much to be proud ofdanielp has much to be proud of (1198)
Default Re: Resolving one host name into two different IP addresses

Exactly, so internal clients will resolve to the bogus IP, but external clients will use the real IP.

You could also create a HOSTS file with the right syntax and info, and place it on ALL the local clients, but DNS is much easier to work with.
__________________
Cheers,

Daniel Petri
Microsoft Senior Premier Field Engineer
MCSA/E, MCTS, MCITP, MCT
  #4  
Old 16th February 2006, 03:39
teiger teiger is offline
Moderator
 
 Join Date: Mar 2005
  6 month star 12 month star
 Location: Tzurit, Israel
 Posts: 2,729
  Send a message via MSN to teiger
 Reputation: teiger is a splendid one to beholdteiger is a splendid one to beholdteiger is a splendid one to beholdteiger is a splendid one to beholdteiger is a splendid one to beholdteiger is a splendid one to beholdteiger is a splendid one to behold (757)
Default Re: Resolving one host name into two different IP addresses

Stepping back and asking a stupid question:
Hemmo
Why do you want to do this?
__________________
TIA

Steven Teiger [SBS-MVP(2003-2009)]
http://www.wintra.co.il/

Iím honoured to have been selected for the SMB 150 list for 2013. This is the third time in succession (no logo available for 2011) that I have been honoured with this award.

We donít stop playing because we grow old, we grow old because we stop playing.
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding all Valid email addresses on exchange Azrial Exchange 2000 / 2003 10 15th December 2006 13:37
Configuring Exchange to receive from certain IP addresses spepi Exchange 2000 / 2003 1 26th October 2005 21:19
Deny host from Getting configuration from DHCP saudyonline Windows Server 2000 / 2003 / 2003 R2 2 8th September 2005 10:00
Exchange 5.5 public folder mail addresses agix Exchange 2000 / 2003 0 17th February 2004 13:40
Replication not working after changing IP address of AD host gsimon Active Directory 1 25th December 2003 03:01


All times are GMT +3. The time now is 18:34.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri