set proper dns depend