adds dns configuration