add ability to specify dns addresses