A long lens is essential to frame the moon and you also need a relatively bright aperture since if you end up needing more than one second of exposure, the moon will appear blurry due to motion.
Nikon makes several suitable lenses but they are very expensive. If you only need an occasional shot of the moon, just rent one. Could be an AF-S 400mm, AF-S 500mm or AF-S 600mm.
Now if you really want to buy, you would have to look at off-brands and used lenses that are no longer in production. Sigma used to have a very nice 300mm F/4 and I am sure thank Samyang or another third-party at some point made a long lens prime with decent aperture. Search used sites for telephoto lenses for Nikon F-mount. Since the moon does not move fast, you do not have to worry about AF.