setting up dns automagically