US 11,722,454 B2
Communication apparatus, method of controlling communication apparatus, and storage medium
Shinichi Uchikawa, Chiba (JP)
Assigned to Canon Kabushiki Kaisha, Tokyo (JP)
Filed by CANON KABUSHIKI KAISHA, Tokyo (JP)
Filed on Jun. 1, 2021, as Appl. No. 17/336,058.
Claims priority of application No. 2020-104675 (JP), filed on Jun. 17, 2020.
Prior Publication US 2021/0400010 A1, Dec. 23, 2021
Int. Cl. H04L 61/10 (2022.01); H04N 1/327 (2006.01); H04L 45/745 (2022.01); H04L 61/4511 (2022.01)
CPC H04L 61/10 (2013.01) [H04L 45/745 (2013.01); H04L 61/4511 (2022.05); H04N 1/32771 (2013.01)] 23 Claims
OG exemplary drawing
 
1. A method of controlling a communication apparatus to transmit data externally via a plurality of different communication interfaces, the method comprising:
transmitting a request for a name resolution of a hostname to at least a first Domain Name System (DNS) server located on a first network and a second DNS server located on a second network different from the first network in a case where a request for the name resolution of the hostname is received from an application of the communication apparatus, and
controlling whether to register, in a routing table, routing information for communicating with an external apparatus identified by an Internet Protocol (IP) address acquired as a result of the name resolution of the hostname, based on whether a DNS server that successfully executed the name resolution of the hostname in response to the transmitted request is the first DNS server associated with a first communication interface to which a default gateway is set,
wherein, in a case where the DNS server that successfully executed the name resolution of the hostname is not the first DNS server, and is the second DNS server, controlling includes performing control to register, in the routing table, a routing information for communicating with the external apparatus located on a third network, different from the first network and the second network, via a second communication interface associated with the second network, and
wherein, in a case where the DNS server that successfully executed the name resolution of the hostname is the first DNS server, controlling includes performing control not to register, in the routing table, a routing information for communicating with the external apparatus.