modifying bind

Peter Dambier peter at peter-dambier.de
Sat Jun 25 20:17:48 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?

And I would not even think about looking there for ideas:

http://cr.yp.to/djbdns.html

:)

> 
> ----- 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
>>>
>>>
>>>
>>
>>
>>
> 
> 


-- 
Peter and Karin Dambier
Public-Root
Graeffstrasse 14
D-64646 Heppenheim
+49-6252-671788 (Telekom)
+49-6252-599091 (O2 Genion)
+1-360-226-6583-9738 (INAIC)
mail: peter at peter-dambier.de
http://iason.site.voila.fr
http://www.kokoom.com/iason



More information about the bind-users mailing list