The near field is inside and around the antenna.
The far field is beyond the Rayleigh distance, 2D**2/lambda