DRZ per @Earthwormjim91@lemmy.world is a solid req, but I partial to the KLRs. They’re very similar although you’ll hear people debate the differences.
I’m less familiar with years for DRZs, but get a gen1 or gen2 KLR. Gen1 ran from ~89-08(?) and gen2 was 08-2020. I don’t have any experience with the newer ones.
The reason the KLR is a fantastic starting bike is its a decent sized engine (650cc) but low compression. This means it’s not as jumpy as a sports bike, but still has a lot of power. That’s what people call “tractor factor”. The power curve is practically flat, you get most of the same “oomph” wherever you are on the rev gauge.
That has some on road advantages but huge offroad user friendly-ness. You can just kind of… climb hills. For a sportier off road bike you’d want to hit certain climbs at specific RPMs and maintain those RPMs through different grades in the hill. A KLR gives precisely zero fucks. You can climb that hill as slow as you want. You can power through that muddy creek bed knee deep in water without spinning your tires. You can put a rope around it and haul your camper trailer up an inverted overhang at 0.1 MPH. That means the world when you’re learning the feel of the bike wobbling on rock scrambles.
The low compression engine is also where the KLRs get their apocalypse proof rep from; it just asks less of the components. This is fantastic for maintenance. Seals last longer, any issues you do have are lessened because anything with partial problems is holding back less pressure. Also in terms of beginner friendly maintenance: 1 cylinder. 1 spark plug. 1 carb. 1 spark condenser. And those long lived model generations? Parts are easy to find. In the event you cant find a part, the low compression motor increases odds you’ll find something with a compatible spec.
I love my Gen1 like a child. I love my Gen2 like a great roomate who would handsdown be at my wedding but maybe not in the wedding party. I bought it used from a larger dude, he had modded it extensivley, and I just never liked where the weight sat off-road. I don’t know if that was the mods or the model. Gen1 also has slightly more offroad capable wheels (note: you still need proper tires!)
A LOT of what I said can also be said about the DRZ. The DRZ will also get you a smidge more ground clearance for the same seat height. That’s nice off road, but if you’re taller is less nice on road.
Oh, and on road capabilities: The KLR is plenty capable on highway, albeit not the most fun. I’d do plenty of highway around town, but on trips I’d do the 55mph county roads that tended to hug the highway, it was just more enjoyable.