Let us now take a look at how the redirector can be put inside a module for the Apache HTTP server. We will treat each of its five components separately, with special attention paid to the problem of using both UDP and TCP transport protocols to receive DNS packets.