Re: Dynamic CNAME based on peer addr

Rob Butler <[email protected]> Wed, 27 May 2009 17:09:17 -0700 (PDT)
Newsgroups gmane.network.dns.bind9.dlz
Message-ID <[email protected]>
Correct.  The IP address isn't available at the point you'd need it.  You'll have to modify BIND & DLZ to pass that data along.



----- Original Message ----
> From: Florian Lohoff <[email protected]>
> To: [email protected]
> Sent: Wednesday, May 27, 2009 6:56:53 AM
> Subject: [Bind-dlz-testers] Dynamic CNAME based on peer addr
> 
> 
> Hi,
> i was thinking about returning a dynamic CNAME based on the 
> requesting peer address e.g
> 
>     peer 1.2.3.4 asks for my.little.proxy
> 
> and gets a 
> 
>     IN CNAME 1.2.3.4.other.little.proxy 
> 
> I had a look at the DLZ code and would not be afraid of writing my
> own dlz driver - the only hindering aspect i was seeing was that
> the lookup callback does not pass in the peeraddr so there is no
> way without modifying the main bind.
> 
> Is that correct?
> 
> Flo
> -- 
> Florian Lohoff                  [email protected]             +49-171-2280134
>     Those who would give up a little freedom to get a little 
>           security shall soon have neither - Benjamin Franklin



      

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com