Add test DNS file handler for custom dns