Does anyone know how to???

Mark_Andrews at isc.org Mark_Andrews at isc.org
Mon Aug 5 23:17:11 UTC 2002


> > From bind-users-bounce at isc.org Mon Aug  5 09:56:30 2002
> > To: comp-protocols-dns-bind at isc.org
> > From: phn at icke-reklam.ipsec.nu
> > Subject: Re: Does anyone know how to???
> > Date: 5 Aug 2002 16:46:54 GMT
> >
> >
> > Bind-Users Mailist <bind-users at dns1.vizion2000.net> wrote:
> > > What I would like to achieve is
> > > For zone file example.com entries of the form
> > > [*]		IN	PNAME	[Name of routine that parses [*] and re
> turns somecanonicalnameorotheralias]
> >
> > > Does anyone have idea how this might be achieved or point me to the appro
> priate source code section(s). My C/C++ skills are somewhat rusty and a helpf
> ul start would be apprecaited.
> >
> > If you want this done statically ( at zone time creation ) a simple
> > shell script would do.
> >
> > If you want this done 'on-the-fly' you could start tweaking 'lbnamed'
> >
> > Registering a brand new type is probably no option ( since that won't
> > be recognized by other nameservers)
> >
> >
> > -- 
> > Peter Håkanson         
> >         IPSec  Sverige      ( At Gothenburg Riverside )
> >            Sorry about my e-mail address, but i'm trying to keep spam out,
> > 	   remove "icke-reklam" if you feel for mailing me. Thanx.
> >
> >
> Thanks - I hear what you are saying about introducing anew type. Ans yes this
>  something that needs to be done on the fly.
> I feel reasonably confident about writing the parsing routines but have zero 
> confidence in determining how/where to place the code within Bind. If anyone 
> is familiar with the Bind sources sources would be willing to contact me off 
> list it would be appreciated. In which case please email me dev at dns1.vizion20
> 00.net. I am running freebsd v4.5 and Bind 8
> 
> Thanks
> 
> David Southwell
> Systems Administrator
> Vizion2000.net
> 

	I suggest that you look at DNAME.

		example.com. DNAME example.net.

	will cause

		ffo.example.com. CNAME ffo.example.net.

	to be generated on the fly.

	BIND 9 supports DNAME.
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list