LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2008, 07:16 PM   #1
DukeLeto
Member
 
Registered: Jan 2003
Location: Antarctica
Distribution: *watches the penguins pass by*
Posts: 56

Rep: Reputation: 15
DNS "IN NS" Record questions (and load balancing)


Dear LQ,

I'm considering setting up GSLB (global server load balancing) with DNS (and am well aware of the caveats).

Let's say I have domain 1234.com

I have nameservers (which I don't really have much control over) that are:

ns1.serviceprovider.com
ns2.serviceprovider.com

which my 1234.com domain uses.

If I set up a zone file that looked similar to this (on the serviceprovider.com ns servers):

Code:
$ORIGIN .
$TTL 900        ; 15 minutes
1234.com IN SOA ns1.1234.com.
support@1234.com. (
                                2007111301 ; serial
                                10800      ; refresh (3 hours)
                                900        ; retry (15 minutes)
                                604800     ; expire (1 week)
                                900        ; minimum (15 minutes)
                                )
                        NS      ns1.1234.com.
                        NS      ns2.1234.com.
                        NS      ns3.1234.com.
ns1                     A       1.1.1.1
ns2                     A       1.1.1.2
ns3                     A       3.1.1.2

What I'm hoping to accomplish is although the domain is set up to use ns1/2.serviceprovider.com, actual a record lookups will then go to ns1.1234.com, etc.

The bind9 running on ns1-3 of 1234.com would actually have a custom geodns patch, allowing views broken down as fine grained as state. I would have my zone files on ns1-3 of 1234.com with the actual a and mx records.

Is this possible?


In summary, here's what I want to accomplish:

Client does this....


Client(looking for www.1234.com)--->ns1.serviceprovider.com (which returns ns1.1234.com as authorative for the domain)--->Client--->ns1.1234.com(returns A record of 1.1.1.3 for www)

Am I off base or is this possible?

Thanks,
Michael
 
Old 04-05-2008, 08:20 AM   #2
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
Have never tried the GeoDNS stuff, but from a recursion standpoint, the example shown above should work. Basically, all you are doing is delegating the SOA for 1234.com to another DNS server. This is not any different than delegating a sub-domain of 1234.com to another DNS server within the 1234.com zone file. The syntax would be the same. eg. In the 1234.com zone file, add a NS record for sub-domain.1234.com that points to the DNS server that is authoritative for the sub-domain.

If this does not work, I guess you can always change your domain registration to point to your DNS servers directly.

BTW: I did some research on the GoeDNS patch. I ened up at the GeoIP website and typed in one of my public IP's. Pretty scary. The info returned even had my area code along with a #$%^%$ google map <groan!> But this finally explains how a website like abc.com can display the local ABC affiliate logo in my area when viewing a TV show.
 
Old 04-05-2008, 01:06 PM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
You can't change the resolution by doing anything other than changing the authoritative servers. You can't just add an ns3 in the zone and have it queried by anything. The way a server is queried is only if it is on the list of authoritative servers. Your authoritative server can't designate another.

So if you can't get ns3 on the authoritative list at the registrar's site, it will never be queried.

Peace,
JimBass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Measure "CPU load" and "memory consumption" of a process DaneelGiskard Programming 3 08-30-2007 11:43 AM
Setting up "A" record in DNS brianetilley Linux - Networking 1 12-11-2005 05:41 AM
Dynamic load balancing Dns sandeep3001 Linux - Networking 1 06-05-2005 09:28 AM
"Failed to load module "i915"" Kane635 Linux - Software 0 11-22-2004 08:17 PM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 01:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:24 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