modifying bind

Danny Mayer mayer at gis.net
Sat Jun 25 20:01:00 UTC 2005


Mike A wrote:
> not a good idea as in not a good idea to ask or not a good idea to do what i
> am triyng?
> 
It may not be a good idea to do what you are trying to do but I'd need 
to think more about it.

Danny

> ----- Original Message ----- 
> From: "Danny Mayer" <mayer at gis.net>
> To: "Mike A" <dev at devolition.co.uk>
> Cc: <bind-users at isc.org>
> Sent: Saturday, June 25, 2005 8:33 PM
> Subject: Re: modifying bind
> 
> 
> 
>>Mike A wrote:
>>
>>>Hi,
>>>  i am currently trying to code an option like $GENERATE but instead of
>>>generating the records in advance, it would generate them on the fly and
>>>cache them. Currently i have code in place that generates a hostname
> 
> from a
> 
>>>requested IP address however i am not sure how to get bind to add it to
> 
> the
> 
>>>cache and return the generated hostname as a ptr record.
>>>
>>>The code to generate the hosts on the fly was inserted inside the else
>>>statement in lib/dns/rbt.c around line 1028. As far as i know, this
>>>populates the foundname with the generated hostname but doesn't do
> 
> anything
> 
>>>in regards to adding a record to the rb tree or getting bind to return
> 
> this
> 
>>>host.
>>>
>>>Can anyone tell me what is needed to make bind return the result
> 
> generated
> 
>>>in the foundname variable or give some hints to find out?
>>>
>>>If this is the wrong place to be asking, could someone suggest a better
>>>alternative?
>>>
>>
>>bind-workers at isc.org is probably a better place.
>>I'm not saying whether or not this is a good idea.
>>
>>Danny
>>
>>
>>>thanks in advance,
>>>Mike
>>>
>>>
>>>
>>
>>
>>
> 
> 



More information about the bind-users mailing list