use dns config from attribute