set resolver to ext dns before stopping named