Sending Custom Response of DNS Queries

Saeed Ahmed <[email protected]> Thu, 5 Oct 2017 16:54:32 +0500
Newsgroups gmane.network.dns.powerdns.devel
Message-ID <CAEP-o+H8cpe3nPQ1sPE5PkzkDdeL-ber46dyAHev69efEFh8Lw@mail.gmail.com>
Hi,
I am using pdns_recursor-4.0.5. Here, what I wanna do is when a client
queries the server, I want to intercept the request, and before any
processing, do some check and on certain condition send response back to
client having specific host address (e.g my own server hosting some site)
without further sending query to authoritative name servers.

So any help will be highly appreciable.

Thanks.

_______________________________________________
Pdns-dev mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/pdns-dev