DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old December 8th, 2003, 07:46 AM
ovisopa ovisopa is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Sibiu, Romania
Posts: 176 ovisopa User rank is Private First Class (20 - 50 Reputation Level)ovisopa User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 11 h 37 m 30 sec
Reputation Power: 6
Send a message via Yahoo to ovisopa
Question setup a site mirror

Hello ppl,

since a while I'm thinking on creating a miror for my site , but I don't know exactly what I should do, I have some question for you.

#1 About the nameserver, if I set my primary nameserver ns.host1.com and secondary nameserver ns.host2.com :

when host1.com will be offline (hope never) all the request to my site are sent to secondary nameserver , host2.com ????

if an user is geographic closer to host2.com will be automatcly sent to that miror(host2.com) or will see the site from host1.com ?
geographic closer I mean if the user is from europe,
the mirror is in europe too and the main site is in the USA .

#2 is there some tool to make an automatic update of the mirror, files and database (MySQL) ??? or I should create a script which will compare the directories of the mirror with the main site , and for database the same thing something to compare bouth databses. ???

any help will be apreciated

10x in advance

see ya all

Reply With Quote
  #2  
Old December 8th, 2003, 08:24 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
#1) Randomly
#2) Just to name a few: rsync, cvs, and mod_proxy in Apache

Reply With Quote
  #3  
Old December 8th, 2003, 08:35 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
As for the ns1 and ns2 where one is offline...

As freebsd said, the server that is used to resolve a request for your domain is chosen randomly. Now, resolvers SHOULD try the next server if the one it chose failed. So, theoretically your domain will continue to resolve just fine if one of the servers is down. However, there have been times in the past where a website domain didn't resolve and I checked out the DNS to see why and found that 2 of 3 dns servers were down for that domain, but I could still resolve with the one remaining - but only "manually".

So I strongly recommend that you do NOT include tricky dns servers as authoritative for domains that are not tolerant to downtime.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #4  
Old December 8th, 2003, 09:49 AM
ovisopa ovisopa is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Sibiu, Romania
Posts: 176 ovisopa User rank is Private First Class (20 - 50 Reputation Level)ovisopa User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 11 h 37 m 30 sec
Reputation Power: 6
Send a message via Yahoo to ovisopa
Quote:
Originally posted by freebsd
#1) Randomly
#2) Just to name a few: rsync, cvs, and mod_proxy in Apache


#2 -> can you give me more details pls or some documentation about miroring ... I searced the net but i found nothing

10x

see ya

Reply With Quote
  #5  
Old December 8th, 2003, 09:59 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> I searced the net but i found nothing

Tell us what exact search keyword did you use. Or simple enough, just do it yourself by using the combine search keywords rsync cvs mod_proxy mirroring at google.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > setup a site mirror


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway