Add dnsd prototype code