For the most part, Nikon DX(small chip) or FX(full frame chip) digital cameras will take any old Nikon mount lens. Some features will work and some won't. I have D610(FX) and it can use any manual, older AF, or modern lens Nikon or anyone made for that mount. For example, I use an old fully manual Russian wide angle lens pretty often(can even still use auto exposure). Previously I had D100(DX) and used many old lenses of different origin and complexity
EDIT: Worth mentioning. You can use FX(or 35mm) lens on DX camera. It's a bit more expensive than necessary, but has no ill effects. On many new FX cameras you can also use DX lenses, but you will have to shoot in DX mode negating the point of having FX camera. That does work as a digital zoom in a way at the expense of resolution.