How to redirect one IP to another through DNS?

Jugernot

Diamond Member
Oct 12, 1999
6,889
0
0
Is there a way to redirect traffic going to one IP to another in the same network? So anytime anyone sends a request to X.X.X.149 is automatically transfers to X.X.X.156?

Our company has IPs XXX.XXX.XXX.129 - XXX.XXX.XXX.254 running through several webservers and using BIND for DNS.

Recently we had to replace out Exchange server and were forced to use a different IP address. Anyway, the old IP was .149 and the new IP is .156. Our problem is this... the largest ISP in town is our upstream provider, which has the faulty reverse lookup servers (they only update around once every two weeks). Anyway, when someone goes to exchange.mycompany.com it points to old address, even though we've updated with our DNS.

Any idea on how we can redirect traffic from 149 to 156?

Thanks
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
you can setup some other HTTP server and do a HTTP redirect?

DNS only really does name and IP address resolution.
 

Jugernot

Diamond Member
Oct 12, 1999
6,889
0
0
Thanks, I couldn't see the forest for the trees....

I bound 149 to our DNS server and setup a quick redirect in Apache, worked like a charm.

Thanks!

Joe
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
Cool.

Glad the simple solution worked, because the other ones are complicated and require the use of some kind of L4 switch or balancer.

:)