very simple script to test a dns connection