Need flexibility to define custom DNS names for azure instances
Issue: Long DNS name cause issue with PAM nslcd. This is known issue.
Current workaround: configuring private/internal Bind DNS server and provide short DNS name.
Permanent resolution: Azure team need to provide permanent fix to resolve issue else provide flexibility to define custom DNS names for azure instances
Fabien Lavocat commented
You can use the DNS Private Zones in your Virtual Network