cleaned up diffdns and added options