started dns refactoring ; minor fwd refactoring
dns refactoring II