Solved

web server dns redirect

Posted on 2017-02-27
5
61 Views
Last Modified: 2017-03-05
In most cases, we have a dns record for stuff like;
111.domain.com
222.domain.com
333.domain.com

The user simply goes to that dns record to reach the destination. Normal dns stuff. However, the IPs of those destinations sometimes change and dns propagation can take a while in some cases. Yet, we need to give users instant access to the sites which have changed IP. Using ddns services is not an option and is not the question either.

The question then, is there a way of doing some kind of redirect/dns trickery to use a web server to forward requests to the changed IP sites even though they have not propagated, without their using our dns server.

They would connect to our web server using xxx.domain.com and should be redirected to which ever server xxx is now pointing to.

For instance could dnsmasq installed on the same webserver and the two working together somehow redirect the user to the new IP/domain www.newdomain.com?

Something else?
0
Comment
Question by:Mark Lewis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 37

Accepted Solution

by:
Mahesh earned 500 total points
ID: 42026181
Redirection is not possible in this case either from IIS or DNS
Your IP is changing and not hostnames
Only possible way is to grant immediate access is to access web sites directly with IP address
0
 

Author Comment

by:Mark Lewis
ID: 42026290
Let me be clear to confirm...

The web site IP never changes, only the remote sites IPs do.
The web site would always have a list of updated IPs on it and I simply want to redirect users to the new IP of the remote site.
0
 
LVL 37

Expert Comment

by:Mahesh
ID: 42026307
what are these remote sites?

with DNS / IIS you cannot point users to new / changed IP address of remote site

Instead provide IP links on your main web site with some meaningful description so that users will directly hit the IP

In case of DNS hostnames, this is not possible
0
 

Author Comment

by:Mark Lewis
ID: 42026313
They are IOT devices which cannot have static IPs but need to be reached using name, not IP (does not matter why).
Obviously, we can provide links to the changed IP but the question is, is there some other way of redirecting a name to the changed IP without DNS.

I find it hard to believe there is not a way of doing this.
0
 
LVL 57

Expert Comment

by:giltjr
ID: 42028251
If you want to use a host name, then you are limited to how DNS works.  The best bet is to set the TTL for the host name down to a small number and let DNS work the way it should.  Most of the time when companies need something like that they will set the TTL to something like 5 or 10 seconds.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question