refactored DNS record creation into function
Continued DNS record refactoring
Continued DNS refactoring and fixed help