Bird flu had been diagnosed at a farm just over 10 km from York and control measures are now in force across part of North and East Yorkshire.