Configuring a private DNS on the Huawei smartphone optimizes network security because the data is sent and received over an encrypted channel, which requires the valid host name of the DNS provider.

Android 10 | EMUI 10.0
Private DNS -  Open the  Settings
Private DNS -  Tap on  More connections
Private DNS -  Tap on  Private DNS
Private DNS -  Enable  Configure Private DNS
Private DNS -  Enter the appropriate  hostname  an tap  Back
  1. Open the Settings
  2. Tap on More connections
  3. Tap on Private DNS
  4. Enable Configure Private DNS
  5. Enter the appropriate hostname an tap Back

Huawei Instructions