Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-07-2011, 05:35 AM
|
#1
|
LQ Newbie
Registered: Jun 2009
Location: Nepal
Posts: 19
Rep:
|
two ips for a domain
Hi!
I actually have a domain and two ips.
When one internet link is down,the domain should point to the other ip.What do i need to do in dns server(freebsd server).
Your help would be appreciated.
Thanks
annaabhi
|
|
|
06-07-2011, 05:42 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well fundamentally you need an internet link that doesn't go down... DNS resilience is very patchy. A DNS server that you have no control over whatsoever can decide to cache your DNS record for days at a time if it wants to. You can't instantly make a DNS record go somewhere else. In terms of a hack to make this work, you can use some form of dynamic dns server, i've personally used zoneedit.com but you might prefer noip, dyndns etc... and run a script on a machine which you think can tell the status of the links and if it thinks the main link is down to update the DNS service with the new record. It's pretty simple to do, but in terms of being a way to provide HA within minutes, you'll not find it a good solution.
|
|
|
06-07-2011, 07:32 AM
|
#3
|
Member
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122
Rep:
|
--
What about master-slave configuration?
|
|
|
06-07-2011, 07:33 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Quote:
Originally Posted by sibe
--
What about master-slave configuration?
|
what about it?
|
|
|
06-07-2011, 07:59 AM
|
#5
|
Member
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122
Rep:
|
--
Ah sorry, I think I've misinterpret the question.
|
|
|
All times are GMT -5. The time now is 12:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|