Add windows functionality for python dns modifier