The production cross sections of the inclusive Drell-Yan process Z/γ∗→ℓℓ (ℓ=e,μ) are measured in proton-proton collisions at √s=7 TeV with the ATLAS detector. The cross sections are evaluated differentially as a function of the Z boson rapidity based on an integrated luminosity of about 35 pb−1 collected in 2010.