initial commit (flushdns, cleangems, and the new&untested restartdns)