473,406 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

DNS: Can one name resolve to 2 IP addresses?

Plater
7,872 Expert 4TB
Here my situation:

My company network has 2 connections externally ( A T1 and buisness cable).
Each have static IP addresses.
We have a dual WAN router in place handling them.
that part seems to be fine.

My question then is, can we have our domainname (hosted externally by some register company) point to both IPs somehow?
We currently just have an A record for each external IP address. (wan1.example.com wan2.example.com)
We want www.example.com to try wan1 first and on a failure try wan2.
So if our T1 goes down, the same name can then route to our cable connection.

Is this possible? Or do we have to have our domain provider do something special for us?
Aug 22 '07 #1
2 19895
jehrich
24
Hi Plater,

Some DNS providers offer specific failover services that monitor your connections and always respond to DNS queries with the IP of the working connection(s).

Even if they don't offer this they may still offer round-robin DNS. They basically set up two A records with the same hostname but different IP addresses. When somone requests the A record the DNS server responds with the next address in the pool, in your case alternating between the two addresses. If one of your connections becomes unavailable, the ~50% of users directed to the other IP will not notice. I believe that some implementations resopond with all addresses in the pool and leave the decision of which address to use up to the client.

Hope that helps.

JE
Jan 12 '08 #2
Plater
7,872 Expert 4TB
That is exactly the kind of thing I was looking for.
In a twist of events, we have dropped our T1 due to severe lack of reliability. So it's not even an issue anymore.
Good info for future use though.
Jan 14 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Paul Fi | last post by:
How can i determine IP Address of my machine at runtime without providing any information like HostName? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in...
2
by: Jeff Petter | last post by:
I was wondering if anyone know how I might be able to resolve the NetBIOS workstation names (from the WINS server) into an IP address. Something along the lines of Dns.Resolve (address), but for WINS...
1
by: Hakki | last post by:
We need to resolve with which computer my computer is communicating. We write a sniffer that gets pakets and so we resolve ip addresses and now we need to get their domain names. I think we need...
4
by: Henri | last post by:
As my app can bet hosted on different web servers, I need it to retrieve the web server's name dynamically. I've tried Dns.HostName with no success. I want to get the full name (e.g....
5
by: Spartaco | last post by:
hi, I was curious to know why the property Request.UserHostName gives me the IP of visitors instead of their dns name as stated in the documentation. It's something wrong with the configuration of...
7
dmjpro
by: dmjpro | last post by:
Recently i started URL class handling. but i think there is no DNS Resolver package in my JDK. when i access a page with a DNS name then UnknownHostNameException found. what is the...
0
by: ayaqin | last post by:
My DNS is in Windows 2003 Server. Currently my DNS name is etc_dom.etc and my AD also using etc_dom.etc. I don't want to change my AD domain name, I just want to change my DNS domain name to...
5
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I am trying to get the DNS name of an arbitrary IP address on the network. If I use GetHostEntry as the documentation suggests I only get the name of the machine I am running the code on. All...
3
dmjpro
by: dmjpro | last post by:
Have a look at my problem. try{ //String tokenLocatorUrl = "http://erp.iitkgp.ernet.in:80/SSO_Token_Object_locator/resources/getSSOToken"; String tokenLocatorUrl...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.