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


  Search this Thread
Old 04-04-2008, 07:16 PM   #1
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

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

which my domain uses.

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

$TTL 900        ; 15 minutes IN SOA (
                                2007111301 ; serial
                                10800      ; refresh (3 hours)
                                900        ; retry (15 minutes)
                                604800     ; expire (1 week)
                                900        ; minimum (15 minutes)
ns1                     A
ns2                     A
ns3                     A

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

The bind9 running on ns1-3 of 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 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> (which returns as authorative for the domain)--->Client---> A record of for www)

Am I off base or is this possible?

Old 04-05-2008, 08:20 AM   #2
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 to another DNS server. This is not any different than delegating a sub-domain of to another DNS server within the zone file. The syntax would be the same. eg. In the zone file, add a NS record for 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 can display the local ABC affiliate logo in my area when viewing a TV show.
Old 04-05-2008, 01:06 PM   #3
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.



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 > Forums > Linux Forums > Linux - Networking

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

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