Extract dns to Factory