CPC H04L 63/0435 (2013.01) [H04L 61/4511 (2022.05); H04L 63/20 (2013.01)] | 10 Claims |
1. A communication apparatus, comprising:
at least one memory and at least one processor which function as:
a setting unit configured to set whether to use encrypted communication for name resolution, as operation setting of the communication apparatus;
a recording unit configured to record a condition for excluding from a target of the name resolution using the encrypted communication in a storage unit; and
a communication control unit configured to, in a case where name resolution of a host name requested from an application is performed, request a first Domain Name System (DNS) server to perform the name resolution of the host name via an encrypted communication path established with the first DNS server at least based on a fact that use of the encrypted communication is set by the setting unit, and to request a second DNS server to perform the name resolution of the host name by plain text based on a fact that non-use of the encrypted communication is set by the setting unit,
wherein, in a case where the request of the name resolution of the host name satisfies the condition stored in the storage unit, the communication control unit requests the second DNS server to perform the name resolution of the host name by the plain text even in a case where use of the encrypted communication is set by the setting unit.
|