fixing problem with DNS, first build DNS, then change DNS