Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Setting up dynamic backup servers?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RedDawn
Guru
Guru


Joined: 22 Sep 2003
Posts: 368
Location: Los Angeles, California

PostPosted: Tue Jul 20, 2004 5:47 pm    Post subject: Setting up dynamic backup servers? Reply with quote

How would i go about setting up a system.. in witch.. i can access my website..


www.yourowndisaster.net and if my website does not respond say in like 15 seconds be redirected. to another ip address or hostname.


im also running my own DNS servers if that will help you.

thanks...

it would go like this...




Quote:

Connect to... yourowndisaster.net... if the host does not respond then i should be redirected to another website.. say my backup server...
Connect to backup server...
Back to top
View user's profile Send private message
radonsg
Apprentice
Apprentice


Joined: 26 Jun 2004
Posts: 257
Location: Singapore

PostPosted: Tue Jul 20, 2004 6:51 pm    Post subject: Reply with quote

not sure if it will work the same for u. What I did was having 2 line of ip add which points to www.

Code:

Localhost  IN    A    127.0.0.1
ftp               IN    A     192.168.2.2
www           IN    A      192.168.2.4
www           IN    A       192.168.2.8


So when I do a nslookup, sometimes it bring me to 192.168.2.4 sometimes 192.168.2.8
It work more like load balancing for me rather than backup.
_________________
Athlon64 3000+ on a MSI Neo2 Platinum (nVidia nForce3)
1 Sata Hitachi (HGST) 7K250
1 Sata Samsung SpinPoint
2 x 512MB TwinMos DDR400 Dual Channel
Geforce 5200
Back to top
View user's profile Send private message
RedDawn
Guru
Guru


Joined: 22 Sep 2003
Posts: 368
Location: Los Angeles, California

PostPosted: Tue Jul 20, 2004 6:56 pm    Post subject: Reply with quote

radonsg wrote:
not sure if it will work the same for u. What I did was having 2 line of ip add which points to www.

Code:

Localhost  IN    A    127.0.0.1
ftp               IN    A     192.168.2.2
www           IN    A      192.168.2.4
www           IN    A       192.168.2.8


So when I do a nslookup, sometimes it bring me to 192.168.2.4 sometimes 192.168.2.8
It work more like load balancing for me rather than backup.


really.. that looks nice.. you put this in bind.. right..

make a new Alias and alias my same website to two different ip address?

i will try this when i get home from work.. Thanks to the info.. Really helpfull
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum