How does Azure Private DNS help with private endpoints?
When you create a private endpoint, clients must resolve the service name to the private IP. A Private DNS zone (for example privatelink.database.windows.net) linked to your VNets does that resolution automatically, so applications keep using the normal hostname but connect privately.