[comp.protocols.tcp-ip.domains] Dynamically selecting an IP address

fwp1@CC.MsState.Edu (Frank Peters) (09/26/90)

Hello,

We are wondering if anyone has done any work toward coding an extension to
bind that would dynamically choose an IP address at query time.

The way I would see this working is something like the following:

Suppose we have four Sun systems that are essentially identical for most
applications.  Call them Sun1 Sun2 Sun3 Sun4.

Now, in the nameserver database we have an entry (perhaps with a new record
type?) like the following:

Sun1		A		##.##.##.1
Sun2		A		##.##.##.2
Sun3		A		##.##.##.3
Sun4		A		##.##.##.4
Sun		PG		/usr/local/adm/choose

When the nameserver gets a query for Sun it knows to execute the named program
(with the name to be resolved as an argument perhaps).  The program then
returns an IP address (or domain name) that could be used to return an actual
address (or MX or what have you).

We would of course still have to come up with the chooser program but
there are already programs on the net (as part of batch systems and
the like) that provide that sort of functionality.

Essentially the goal is to have a pool of machines and have the actual 
machine chosen dynamcially when a user tries to telnet in.  Using the
domain name system is one possibility that is being considered.

Any comments or suggestions or pointers would be most welcome.

FWP
--
--
Frank Peters   Internet:  fwp1@CC.MsState.Edu         Bitnet:  FWP1@MsState
               Phone:     (601)325-2942               FAX:     (601)325-8921