moved dns server interaction into a glue file