Added config and dns validation sudo and variables