The latest iPhone doesn't have a DAC in it for headphones. The little 3.5mm-to-lightning dongle is active -- it contains a tiny DAC/amp powered by the lightning port.
Is the tiny lightning dongle a good DAC? The answer is largely "it's fine". Anyone who isn't on the cork-sniffing side of audiophile trends will find it acceptable, assuming the amp is capable of driving the load of whatever headphones you're plugging into it.