[Pdns-users] Challenge with DNS rewrite
ktm at rice.edu
Thu Feb 24 13:46:23 UTC 2011
On Thu, Feb 24, 2011 at 01:10:31PM +0100, Hugo van der Kooij wrote:
> How feasable is it to create a PowerDNS caching name server
> that can rewrite all requests to a specific non-existing top level
> domain and strip that top level domain from the request before passing
> it on towards the rest of the world?
> Due to a rather silly choise of
> the powers that be there exists something called SUWI and their mail
> uses a fake toplevel domain on top of existing domains.
> So my domain
> vanderkooij.org would become vanderkooij.org.suwi in their view. And I
> would like to setup a caching/forwarding server that would first strip
> .suwi from the request and then check if the domain exists and if it
> exists return that information.
> Your thoughts are welcome.
I think that you can do this using the lua scripting support in
the latest release of the PDNS recursor.
More information about the Pdns-users