When a URL Request Occurs, How do I bypass the DNS and direc

G

Guest

Guest
Archived from groups: microsoft.public.win2000.dns (More info?)

Hello all,

Say I have a site called http://www.example.com.

I’m looking for a way to do the following:

When the request for http://www.example.com comes in I’d like it to
bypass the DNS and instead have it re-direct to a certain IP.

Any help would be greatly appreciated.

--
Posted using the http://www.windowsforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.windowsforumz.com/DNS-URL-Occurs-bypass-direc-ftopict415430.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.windowsforumz.com/eform.php?p=1384406
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.dns (More info?)

In news:3_1384406_6ac495b0eb8cde79a4b9fb987d01f2ef@windowsforumz.com,
csabanty <UseLinkToEmail@WindowsForumz.com> made this post, which I then
commented about below:
> Hello all,
>
> Say I have a site called http://www.example.com.
>
> Iâ?Tm looking for a way to do the following:
>
> When the request for http://www.example.com comes in Iâ?Td like it to
> bypass the DNS and instead have it re-direct to a certain IP.
>
> Any help would be greatly appreciated.

I don't understand what you mean by "bypass DNS"? DNS is a database mapping
of names to IP addresses. Resolution queries for names are sent to it, and
it will answer with an IP address, if the name and IP address is in the DNS
database.

From what I can tell, you'll probably want to create a zone called
'excample.com', then create an A (host) record called 'www', then provide
whatever IP you want for it and it will resolve to that IP when queried.

Also, in your webserver, under the site properties, you can create a
redirect to another website. If that is what you mean, that would work. The
redirect will need to be in the form of http://www.example2.com, or
http://example2.com, or http://IpAddress. Note, if using an IP address, the
website you are redirecting to better not be using HostHeaders hosting
multiple sites, or no telling what website it will respond with.

--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services
Infinite Diversities in Infinite Combinations.
=================================
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.dns (More info?)

"" wrote:
> In
> news:3_1384406_6ac495b0eb8cde79a4b9fb987d01f2ef@windowsforumz.com,
> csabanty <UseLinkToEmail@WindowsForumz.com> made this post,
> which I then
> commented about below:
> > Hello all,
> >
> > Say I have a site called http://www.example.com.
> >
> > Iâ?Tm looking for a way to do the following:
> >
> > When the request for http://www.example.com comes in Iâ?Td like it to
> > bypass the DNS and instead have it re-direct to a certain
> IP.
> >
> > Any help would be greatly appreciated.
>
> I don't understand what you mean by "bypass DNS"? DNS is a
> database mapping
> of names to IP addresses. Resolution queries for names are
> sent to it, and
> it will answer with an IP address, if the name and IP address
> is in the DNS
> database.
>
> From what I can tell, you'll probably want to create a zone
> called
> 'excample.com', then create an A (host) record called 'www',
> then provide
> whatever IP you want for it and it will resolve to that IP
> when queried.
>
> Also, in your webserver, under the site properties, you can
> create a
> redirect to another website. If that is what you mean, that
> would work. The
> redirect will need to be in the form of
> http://www.example2.com, or
> http://example2.com, or http://IpAddress. Note, if using an IP
> address, the
> website you are redirecting to better not be using HostHeaders
> hosting
> multiple sites, or no telling what website it will respond
> with.
>
> --
> Regards,
> Ace
>
> Please direct all replies ONLY to the Microsoft public
> newsgroups
> so all can benefit.
>
> This posting is provided "AS-IS" with no warranties or
> guarantees
> and confers no rights.
>
> Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT,
> MVP
> Microsoft Windows MVP - Windows Server - Directory Services
> Infinite Diversities in Infinite Combinations.
> =================================

I don’t know if this is possible, but what I’m trying to do is to
not use DNS. I’m running multiple web sites that DNS (by way of a
load balancer) will send to one of 9 different machines. What I want
to do is specifically match a host header to a certain machine.
Someone has suggested that the application Curl might help me with
this. Anyone have any ideas?

--
Posted using the http://www.windowsforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.windowsforumz.com/DNS-URL-Occurs-bypass-direc-ftopict415430.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.windowsforumz.com/eform.php?p=1385472
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.dns (More info?)

"csabanty" wrote:
> I don't know if this is possible, but what I'm trying to do is
> to not use DNS. I'm running multiple web sites that DNS (by
> way of a load balancer) will send to one of 9 different
> machines. What I want to do is specifically match a host
> header to a certain machine. Someone has suggested that the
> application Curl might help me with this. Anyone have any
> ideas?

Here’s a little more elaboration...

When I want to put new source code up I run something that clears the
cache, machine by machine. Basically, I want all requests to go to
that first machine untill all of the machines are re-compiled and
re-cached. This means that all requests will temporarily only go to
machine1 as opposed to being balanced throughout the 9.
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.dns (More info?)

In news:3_1385544_b78124fc8fe61b0c101f24318d267381@windowsforumz.com,
csabanty <DoNotEmail@WindowsForumz.com> made this post, which I then
commented about below:
> "csabanty" wrote:
>> I don't know if this is possible, but what I'm trying to do is
>> to not use DNS. I'm running multiple web sites that DNS (by
>> way of a load balancer) will send to one of 9 different
>> machines. What I want to do is specifically match a host
>> header to a certain machine. Someone has suggested that the
>> application Curl might help me with this. Anyone have any
>> ideas?
>
> Hereâ?Ts a little more elaboration...
>
> When I want to put new source code up I run something that clears the
> cache, machine by machine. Basically, I want all requests to go to
> that first machine untill all of the machines are re-compiled and
> re-cached. This means that all requests will temporarily only go to
> machine1 as opposed to being balanced throughout the 9.

What is being load balanced, the webservers? You want to send the URL
request to a specific webserver or a DNS server? I think you mean a
webserver. If that's the case, and there's a webserver applicance being used
to load balance, such as BigIP, then BigIP will redirect the request to one
of the webservers in the webserver farm. If DNS is being used to Round Robin
the request to any one of the nine webservers, that's a difficult one to
overcome without disabling Round Robin. One way to overcome that is to use a
local hosts file specifying the IP of the specific webserver you want to use
with the hostheader. This way it always resolves to that machine.

Ace