LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-26-2008, 12:33 AM   #1
ayush1440
Member
 
Registered: Dec 2007
Posts: 75

Rep: Reputation: 15
DNS help


Hello frends,
Again I need your help about DNS server.

My question is not any problem but it is just thinking about possiblity.

My Network Scenario is..
We have two isp. All server now working on ISP1 now what happen if ISP1 link goes down our webserver down .Now we have registered domain in ISP2 ip i.e whenever ISP1 link down, my domain resolved by ISP2 ip. Is that possible through dns server?
how can i do for this pls if have any idea pls share with me.

Any reply will be appreciated.

Thank a lot.

I created Network Diagrame in jpeg format. But cant put here.
 
Old 04-26-2008, 01:52 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Of course that is possible just point your dns secondary to second ISP, but i dont see a point in users being able to resolve your hostname when they are not able to connect to you as your link will be down.

I think you should be looking at some kind of link redundancy.
 
Old 04-28-2008, 04:58 AM   #3
ayush1440
Member
 
Registered: Dec 2007
Posts: 75

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by datopdog View Post
Of course that is possible just point your dns secondary to second ISP, but i dont see a point in users being able to resolve your hostname when they are not able to connect to you as your link will be down.

I think you should be looking at some kind of link redundancy.
Thank you very much for replyint.

I understand it. But it is possible thourh slave dns server and slave server is point to second isp?. I dont know it is possible or not but it may be work. please say about this.
Thank you.
 
Old 04-28-2008, 05:19 AM   #4
hemi_426
Member
 
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80

Rep: Reputation: 15
in general u need a dynamic DNS solution
i'v heared about some DNS provider for these kind of things
one of them is no-ip.com

correct me guys if im wrong....
 
Old 04-28-2008, 05:33 AM   #5
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Yes that is possible but in that case the second server will not be a slave of the master, as it will have different records.
 
Old 04-28-2008, 10:23 PM   #6
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
This is not something that DNS alone can do. As pointed out above, your second DNS box is not a slave if it doesn't have identical data to the master. With 2 ISPs, you can create 2 of any record (2 A records, 2 www records), but if ISP 1 goes down, NS2 will still give out ISP 1 addresses 50% of the time, and those will fail.

To get what you are looking for, you'd need to have something that can test each link, and modify your DNS info so that if one link goes down, it only gives out info for the link that is up. You could do it simply by modifying tools like nagios to activate scripts to change the DNS info.

If you need really super availability, you should look at something like http://linux-ha.org/ which is something like a software load balancer. A hardware load balancer is also excellent, but also extremely expensive.

Also, for you to do a "simple" DNS correction, you have to b e sure your network has an architecture that allows it to still function with one link down.

Peace,
JimBass
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure master dns in windows2003 server and its slave dns in rhel5 suneellinux Linux - Newbie 1 04-11-2008 05:13 PM
i want make DNS server on fedora 8 opreting system plz tell me what is file use DNS nitin gupta Linux - Newbie 2 02-20-2008 05:01 PM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 09:59 PM
DNS Server: WinXP DNS clients losing name resolution frequently loopy69 Linux - Server 4 03-27-2007 09:21 PM
TEMP_FAILURE: DNS Error: Timeout while contacting DNS servers when receiving emails tonysutherland Linux - Networking 2 02-10-2006 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration