Good day  forum    Programming environment  Visual STUDIO  2015, Windows  Driver , and WinDivert (https://github.com/basil00/Divert)

Am a research student on DNS RESOLVER IMPLEMENTED AS A WINDOWS SERVICE  (MAIN FEATURE INTERCEPTION AND REDIRECTION TO ANOTHER HOSTED DNS SERVER)  with WinDivert     I just started  looking at WinDivert (https://github.com/basil00/Divert)      My Programming environment is Visual STUDIO  2015, Windows  Driver , and WinDivert (https://github.com/basil00/Divert)

My  project description is this  :  My Project description : DNS RESOLVER IMPLEMENTED AS A WINDOWS SERVICE  (MAIN FEATURE INTERCEPTION AND REDIRECTION TO ANOTHER HOSTED DNS SERVER) The scenario of my laboratory research  work is this : My research laboratory has one hundred work stations, with users on each system. My research work is  centered on making users Web browsers (opera and Firefox and e.t.c) queries i.e web surfing , to be intercepted and  redirected to a local hosted DNS SERVER which will communicate with top level domain name servers around the world  and return the request back to the users. The solution is to be design as a WINDOWS SERVICE (not a GUI).      I want to know can i write a DNS RESOLVER IMPLEMENTED AS A WINDOWS SERVICE  (MAIN FEATURE INTERCEPTION AND REDIRECTION TO ANOTHER HOSTED DNS SERVER) with   WinDivert  

  I do have these questions are :

 

(1)Is there any documentation for writing the WinDivert.dll in windows service (convert WinDivert.dll Windows service)to serve as matching packet (Conditions for INTERCEPTION AND REDIRECTION)

(2) The WinDivert.sys do i need to manipulate it for packet interception and redirection

(3) The rerouted packet is going to a DNS server on 189.200.200.4  in my network, how do i achieve the packet  modification for rerouting to the  DNS server.

 

thank you