@willisxdc was trying to tell you.
First of all, not the best idea to land at an airport at night straight in for the first time you’ve ever been there. Better fly upwind, then cross-wind, to set you up on a downwind to base to final landing.
Be that as it may, it actually is a really important skill to be able to land straight in to an unfamiliar airport (see below)… so…At about 2 mi out from the airport (I picture a typical 5000’ runway on the ground and that’s about a mile, so, two runways away), make sure you’re at about 80 knots and at pattern level (1000’ above the runway) and dial in your first notch of flaps, make sure you’re settled in and starting to descend and dial in your second notch of flaps, at this point, you should be about a mile out (1 runway away), and descending at about 500’ minute, at about 800’ to 750’ above the runway, and add your third notch of flaps and reduced to 70 knots. Aim your path for the end of the runway.
As @willisxdc said, if you start to feel like you’re too low, go around and do a normal downwind to base to final landing as you would. If as you cross the threshold and you’re too high to level off and go into your flair, go around and do a normal downwind to base to final landing as you would. Never, ever hesitate to go around if you’re not sure. Unless of course you lost an engine and you’re trying to get into that clearing, in that case, do the best you can to stay out of the trees. (Obviously, this is why this skill is super important)
Point being, stop using the DME. Turn it off and start to learn how to judge distances on your own. Over time you’ll get it and it won’t be an issue.
And I totally disagree with the advice not to do it to an unfamiliar airport. The sim is the perfect place to do this first of all, sort of as, technically, it feels quite different in real life (easier to me, you can feel it, and overcontrolling is sooo easy in the sim since there are no stick forces). Second of all, if you lose an engine, you better have the skill to land without landing aids. Practice, practice, practice. I love doing engine out drills.
I just started flying again after 20 years, and, of course I didn’t just climb in, I got in with an instructor. And after he’d seen me land a couple of times, he had me go land on a relatively short crosswind runway (3200 ft, not really that short) with no landing aids. First time I “chickened out” and went around. Second time I nailed it. And it felt good.
(P.S. I came up with those distances off the top of my head, I could be off. A good exercise would be to figure out, how far does the plane glide at 80 knots and 500’ ft/min descent? Calculate how many runways you should be away from the threshold when you’re at 80 and 1000’ above the runway.
Did I say I hate DME? )
P.P.S. And, it is cool to do, but practice all sorts of landings. There’s absolutely no difference between a straight in landing and a downwind to base to final landing. The best thing to do is get a picture in your head, knowing ahead of time you’re at the right altitude, of what the threshold should look like when you start on final approach. And eventually you’ll be able to replicate this as a matter of course for a straight in landing.