Maybe someone is interested in a few details I learned while implementing custom navaids (including VOR and DME) for my Twotter mod. The main motivation was that the unrealistic and “binary” ranges in the sim have bothered me for ages (binary, as in: 40.1 nm out = no signal, 40.0 nm out = perfect signal).
VORs are VHF signals, DME are UHF signals. Both have very high ranges as long as you have line of sight. It helps to be at altitude, because that expands your horizon. If there’s terrain between the station and your aircraft, you can still pick up the part of the signal that is diffracted or scattered towards you, but the range is greatly diminished. The effect of this terrain diffraction varies with frequency, so it affects VOR and DME signals differently.
The ranges of the VOR and DME parts of a VORDME can be drastically different. That’s not only owed to the frequency, but also to the nature of the signal. While VOR works as most people imagine (the station sends a continuous signal, an antenna in the aircraft receives and decodes it), DME is a two-way “connection” with a “handshake” of short signal bursts. Like a submarine, a sender in the aircraft (called interrogator) sends a “ping”, the DME station responds, and the aircraft calculates the distance based on the time between the ping and the response.
Wait, you say, a VORDME only has one frequency, how can it be VHF and UHF at the same time? The DME frequency is a lie. Somehow (don’t ask me how, I haven’t looked into every detail), the interrogator knows what frequency is tuned on your NAV radios. It looks up this VHF frequency in a table and gets a corresponding, totally different UHF frequency. This way, the pilot doesn’t have to operate yet another radio, eliminating a whole class of possibly dangerous mistakes. So if you see a DME-only station with a VOR frequency, that frequency is not in use at all. 
NDBs are way more interesting, but the question was only about VHF/UHF ranges.
Shameless plug: I’m not aware of any other aircraft that bothers to model the navaid ranges. If you picked up the 2020 Twin Otter from Aerosoft back in the day, you can see my attempt at a more faithful implementation in action.