Green laning needs a comfortable, reliable bike that will pass MOTs with no issues, isn’t highly strung and has a nice power delivery for all day riding.
Enduros need something that is light, fast and nimble.
I’d avoid anything 2 stroke or any of the higher strung racing four strokes (KTM’s 250 EXC-F) for green laning and you really, realy don’t want anything as heavy as a DRZ for enduro – I know as I raced one for a season.
Having ridden one in both enduros and on green lanes, a Yamaha WR250F is about the best bike you can buy. They’re enduro bikes but with a nice power delivery and they will manage a season’s racing and green laning and still pass an MOT after a quick wash.