Control and transmission methods, and entities configured to implement these methods
Patent Information
- Application Number
- EP2022813298
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-11-10
- Filing Date
- 2022-11-08
- Publication Date
- 2024-09-18
AI Technical Summary
Current DNS configurations, managed by network operators or users, lack control and optimization, leading to suboptimal performance and security issues, affecting the quality of service experience for users and service providers.
Implementing a trusted entity to dynamically control the DNS configuration of client equipment, directing domain name resolution requests to designated DNS devices authorized by the service provider or intermediate entities, allowing for personalized, optimized, and secure DNS services tailored to specific services and contexts.
This approach enhances the quality of service by optimizing DNS performance, reducing user traceability, and enabling advanced security measures, while allowing service providers to manage their DNS infrastructure independently, improving overall service reliability and security.
Smart Images

Figure 1.1
Abstract
Description
Control and transmission methods, and entities configured to implement these methods
[0001] The invention belongs to the general field of telecommunications.
[0002] It particularly concerns domain name resolution systems or DNS (for “Domain Name System” in English).
[0003] As is well known, a DNS system is a fundamental component in IP (Internet Protocol) communication networks. It allows a resource such as a domain name to be associated with a URI (Uniform Resource Identifier) type identifier and one or more IP addresses allowing access to this resource.
[0004] Thus, when a client device, such as for example a terminal or an application, wishes to establish, in order to access any service, a communication with a server identified by a fully qualified domain name (or FQDN for "Fully Qualified Domain Name" in English), such as "www.example.com", the DNS client embedded in the client device in question sends a DNS resolution request to a DNS server to retrieve the IP address or addresses associated with this domain name. The DNS server can then respond with a list of IP addresses if an entry that corresponds to this domain name is available locally, or relay the request of the communicating entity to another DNS server (recursive DNS server) according to the known DNS hierarchy if it does not have such an entry, etc.
[0005] In the current state of the art, the DNS service, and more specifically the DNS server to be used for domain name resolution, is generally configured at the customer equipment level by the operator that provides it with IP connectivity (e.g., access network or IP service operator). This configuration takes place prior to any communication from the customer equipment, typically when it is connected or attached to the network of the operator in question or via a factory configuration.
[0006] Some users replace this nominal DNS configuration provided by their operator with alternative DNS servers. These servers (referred to as "alternative servers" in the following description) are generally public DNS servers, offered by third-party operators, and have faster response times than some nominal DNS servers provided by operators, and / or offer more advanced security features.
[0007] Regardless of the DNS configuration chosen (i.e., the nominal server provided by the IP connectivity operator, or the alternative public or private server), it applies equally to all services accessed by the client equipment. Service providers are therefore dependent on the performance of this DNS configuration for the provision of the services they offer to users, and therefore do not control the overall quality of experience perceived by the latter. Indeed, if the underlying DNS service offered by the nominal DNS server provided by the operator or the alternative DNS server selected by the user is not optimal, this may result in a degradation of the service.
[0008] The invention improves this situation by proposing, according to a first aspect, a method for controlling a client equipment to access a service via a network, this control method being intended to be implemented by a trusted entity for the service and / or the client equipment and comprising a step of controlling a configuration of said client equipment, when it accesses said service, so that it transmits to at least one device designated for the service and authorized by the trusted entity, at least one domain name resolution request sent by the client equipment within the framework of the service.
[0009] Correlatively, the invention also relates to a trusted entity for a service and / or client equipment of a network, this trusted entity comprising a control module, configured to control a configuration of the client equipment when accessing the service, so that it transmits to at least one device designated for the service and authorized by the trusted entity, at least one domain name resolution request sent by the client equipment within the framework of the service.
[0010] This trusted entity is, for example, a server directly or indirectly involved in the provision of the service, such as, for example, an authoritative server requested by the client equipment for the provision of the service.
[0011] In another example, it may be an intermediate entity placed on a communication path taken when the service is accessed by the customer equipment. Such an intermediate entity may in particular be a proxy (or relay).
[0012] It is important that this is a trusted entity for the customer equipment and / or for the service (and therefore incidentally for the provider of the service in question) to prevent this entity from being used to divert data emitted by the customer equipment.
[0013] The invention therefore proposes to dynamically control, by a trusted entity for the service and / or for the client equipment, the DNS configuration of the latter in order to correlate it with the service to which it provides access. In other words, the trusted entity replaces the nominal DNS server or the alternative DNS server configured by default in the client equipment with a device that it has designated to resolve the DNS queries issued by the client equipment in the context of a service. This control makes it possible to personalize the DNS service used when accessing the service (i.e. when the client equipment consumes the service in question), to optimize it for this service, and thus to improve the quality of experience perceived by the user.The DNS service thus controlled is advantageously adapted to the service: it can in particular be adapted to service constraints, offer advanced functions based on the DNS service benefiting the user and the service, or even be configured so that all or part of the connections (service) established from the client equipment are subject to specific processing. It can also be adapted to the client equipment, and differ from one client equipment to another. By controlling the device (hereinafter referred to for the sake of simplification as "DNS device") responsible for resolving domain name resolution requests issued by a client equipment in the context of its access to a service, it is possible to control the equipment through which the connections established by the client equipment pass within the context of the service, and therefore incidentally the processing applied to these connections.
[0014] Furthermore, in certain situations, the client equipment may be configured with policies for preserving the client's identity (for example, minimizing the volume of identification data shared with the services, emulating location or network attachment). Applied in such a context, the invention makes it possible to ensure that the client equipment uses DNS information reported by a trusted entity that maintains a list of DNS servers per service. This list may be enriched with quality of service measurements and according to the location of the client equipment. The trusted entity selects the DNS server(s) for the client equipment when accessing the service to control the identification information and / or improve the quality of service.
[0015] It should be noted that "when the service is accessed by the client equipment" is generally understood to mean "at any time", as long as the client equipment invokes / consumes the service in question. Thus, the modification of the DNS configuration of the client equipment to a DNS configuration adapted to the service is implemented as soon as the connection allowing access to the service is established, also referred to hereinafter as the underlying connection to the service (for example in response to a request to establish such an underlying connection to the service sent by the client equipment even before useful data is exchanged within the framework of this service, such as during a 3WHS TCP exchange (for "3-way handshake Transmission Control Protocol" in English). However, it can also take place subsequently, as long as the client equipment accesses the service in question.
[0016] The invention allows in particular a better distribution of DNS traffic emitted by client equipment; this avoids a concentration of DNS requests towards a single DNS server, which makes it possible to reduce the traceability of users on the basis of their DNS requests (also known as “DNS profiling”).
[0017] Furthermore, by having control over the DNS configuration of the customer equipment, where appropriate, the service provider has overall control over the provision of its service and can therefore incur liability in the event of degradation of this service (e.g. degraded access time to the service).
[0018] As mentioned above, the service-dependent DNS configuration control as proposed by the invention can be exploited to implement new functions in the network related to the service.
[0019] Indeed, the DNS device can adapt its responses to the DNS queries of the client equipment so as to be on the path of all the connections established by the client equipment when accessing the service, namely not only the main connection established by the user equipment with the infrastructure offering the service, but also all the secondary connections established on the margins of this main connection, such as for example with tracking servers, etc. Thanks to this privileged position, the DNS device is able to analyze the data packets sent on all of these connections and to track or detect specific events likely to affect the private nature of the data transmitted in these packets, such as for example the transport by these packets of identification information of the user of the client equipment.It may also refer to other equipment responsible for analyzing the data transported in the packets sent by the user's client equipment.
[0020] The invention also offers the possibility of adding new advanced functions more easily and immediately to the DNS device, which are advantageous for the implementation of the service. Generally, the deployment of such functions requires the involvement of several actors, which makes this deployment complex. For example, the definition of a new type of record or RR (for "Resource Record") is generally not recommended because it requires the updating of an ecosystem managed by several distinct entities including DNS clients, DNS servers and DNS relays responsible for routing DNS requests (or "forwarders" in English), caches, etc., as well as coordination between these entities in order to make the information maintained by each of them reliable.The invention allows a service provider to deploy new functions within the framework of this service without being dependent on these other actors and for the customer equipment to benefit from such functions.
[0021] The DNS device designated by the trusted entity can also be advantageously configured with “private” domain names, specific to the implementation of the service and which the service provider does not wish to communicate to a public DNS server or to a nominal DNS server provided by the network operator (in the context of a service based on connected objects, for example). Such a public or nominal DNS server will then return a negative response if it is requested to resolve such a private domain name. The fact of not communicating these private domain names constitutes a security measure making it possible to minimize the risk of potential denial of service attacks targeting these domain names.
[0022] This also allows the service provider to generate ephemeral and personalized domain names as part of its service, for example based on the identity of the user of the customer equipment. The invention offers flexibility in introducing or removing domain names at the DNS chain level, which is not the case with a public or nominal DNS server.
[0023] Thus, in view of the above, the invention makes it possible to manage several types of domain name resolution requests and in particular requests concerning: a private domain name; and / or a domain name generated within the framework of the service for the client equipment; and / or an ephemeral domain name.
[0024] It is also possible to configure the DNS device designated by the trusted entity so that it returns personalized responses to the client equipment when it is requested for domain name resolution, for example to satisfy service constraints. Such a personalized response may consist in particular of sending one or more IP addresses located near the client equipment (also called "Geoproximity IP").
[0025] In a particular embodiment, the step of configuring the client equipment comprises a transmission by the trusted entity to the client equipment of a message comprising at least one item of information on the reachability of at least one said device designated for the service and authorized by the trusted entity.
[0026] There is no limitation on the nature of the contact information communicated. This may include an IP address, a domain name, an alias, an authentication identifier, etc.
[0027] This facilitates the implementation of the invention and allows immediate execution of the new DNS configuration, upon receipt of the message. In addition, the amount of information conveyed in the message to configure the client equipment is advantageously reduced.
[0028] It should be noted that the message in question may or may not be encrypted. Encrypting the message prevents connections from being hacked by a third party, and such encryption is preferable in the case of a trusted entity for the service. However, securing the exchanges between the trusted entity and the client equipment can be ensured by other mechanisms (e.g., for a trusted entity for the client configured using appropriate ACL (Access Control List) rules).
[0029] This embodiment also has the advantage of separating the service logic from the DNS logic, and allows for better stability of the service and the DNS mechanism: the customization of the DNS service is carried out by the device designated by the trusted entity and not by the infrastructure (e.g. authoritative server) providing the service.
[0030] For example, the message in question may be a response message to a service invocation message sent by the client equipment. Such an invocation message is, for example, a TCP 3WHS message as mentioned above, or a TLS (Transport Layer Security) ClientHello message or a QUIC Handshake message, messages known per se. This is transparent to the user and saves the signaling (and bandwidth) required to implement the invention. Alternatively, the message in question may be a message sent asynchronously by the trusted entity.
[0031] In a particular embodiment, said at least one item of reachability information is included in a header, an option, a frame (for example a QUIC frame), an attribute (for example an SDP (Session Description Protocol) attribute), a payload (or “message body” in English with a predefined structure), etc.
[0032] For example, in the context of a message according to the HTTP (HyperText Transfer Protocol) protocol, we can envisage the presence of a new header, called for illustration purposes DNS_RESOLVER, valued with said at least one piece of reachability information and indicating to the client equipment that it must address its future DNS requests within the framework of the service to said at least one piece of equipment associated with said at least one piece of reachability information.
[0033] This variant is relatively simple to implement and relies on already existing messages. Only a header (or where appropriate an option, a frame, an attribute or a payload having a predefined structure depending on the variant envisaged) must be newly introduced for the purposes of the invention.
[0034] It should be noted that if the invention has a preferred application when any version of the HTTP protocol is used, it can also be used in association with other protocols, such as for example with the CoAP (Constrained Application Protocol) protocol by defining a new option dedicated to the invention, or with the QUIC protocol, by defining a new frame dedicated to the invention.
[0035] In another embodiment, the reachability information is sent in a dedicated response message whose structure is explicitly indicated by a new media type (or "media type" in English such as for example "json+dns-resolver"). This media type indicates that the content of a message is of type "JSON" and carries a DNS server.
[0036] In another embodiment, the configuration of the client equipment may be implemented via the sending, by the trusted entity, of a list of domain names potentially involved when the service is accessed by the client equipment, and the IP addresses respectively associated with them, for example in a response to a service invocation message or to a DNS query. It should however be noted that this embodiment has an implication on the size of the messages sent to the client equipment, and may induce, depending on the transport protocol involved, fragmentation.
[0037] The invention also offers the possibility of indicating to the client equipment a plurality of DNS devices (and in particular information on the reachability of these DNS devices), each DNS device being able to be associated with a context of use so that the client equipment is able to direct its DNS requests to the most suitable DNS device depending on the context in which it is located (e.g. depending on its geographical location).
[0038] Alternatively, the message transmitted by the trusted entity may include, for at least one said device designated for said service and authorized by said trusted entity, at least one piece of information characterizing at least one functional capacity of said device.
[0039] Such a functional capability is for example a list of methods, and / or records (RR), and / or protocols supported by the device in question.
[0040] This allows for better distribution of DNS queries issued by the client equipment. The DNS device is adapted to the context in which the client equipment requests domain name resolution and can provide a detailed response to the client equipment.
[0041] According to a second aspect, the invention also relates to a method for transmitting at least one domain name resolution request intended to be implemented by client equipment as part of a service provided via a network, this method comprising: a step of modifying, during access to the service and under the control of a trusted entity for the service and / or the client equipment, a configuration of the client equipment so that it transmits to at least one device designated for processing domain name resolution requests associated with the service and authorized by the trusted entity, at least one domain name resolution request issued by the client equipment as part of access to the service; and a step of transmitting at least one domain name resolution request as part of access to the service to at least one said designated device.
[0042] Correlatively, the invention also relates to client equipment of a network comprising: a modification module, configured to modify, during access to a service provided via the network and under the control of a trusted entity for the service and / or the client equipment, a configuration of the client equipment so that it transmits to at least one device designated for processing domain name resolution requests associated with the service and authorized by the trusted entity, at least one domain name resolution request issued by the client equipment as part of access to the service; and a transmission module, configured to transmit at least one domain name resolution request as part of access to the service to at least one said designated device.
[0043] In a particular embodiment, the client equipment further comprises an obtaining module, configured to obtain for at least one said designated device, information characterizing at least one functional capacity of this device, the transmission module being configured to transmit said at least one domain name resolution request to a said device selected according to said at least one functional capacity of this device.
[0044] The transmission method and the client equipment benefit from the same advantages mentioned above as the control method and the trusted entity.
[0045] In a particular embodiment, the control and transmission methods are implemented by a computer.
[0046] The invention also relates to a computer program on a recording medium, this program being capable of being implemented in a computer or more generally in a trusted entity in accordance with the invention and comprising instructions adapted to the implementation of a control method as described above.
[0047] The invention also relates to a computer program on a recording medium, this program being capable of being implemented in a computer or more generally in client equipment conforming to the invention and comprising instructions adapted to the implementation of a transmission method as described above.
[0048] Each of these programs may use any programming language, and may be in the form of source code, object code, or code intermediate between source code and object code, such as in a partially compiled form, or in any other desirable form.
[0049] The invention also relates to an information medium or a recording medium readable by a computer, and comprising instructions of a computer program as mentioned above.
[0050] The information or recording medium may be any entity or device capable of storing programs. For example, the medium may include a storage medium, such as a ROM, for example a CD ROM or a microelectronic circuit ROM, or a magnetic recording medium, for example a hard disk, or a flash memory.
[0051] On the other hand, the information or recording medium may be a transmissible medium such as an electrical or optical signal, which may be conveyed via an electrical or optical cable, by radio link, by wireless optical link or by other means.
[0052] The program according to the invention can in particular be downloaded from an Internet-type network.
[0053] Alternatively, the information or recording medium may be an integrated circuit in which a program is incorporated, the circuit being adapted to execute or to be used in the execution of the control or transmission methods according to the invention.
[0054] According to yet another aspect, the invention relates to a system for accessing a service provided via a network comprising: a trusted entity according to the invention; client equipment according to the invention; and at least one device designated for processing domain name resolution requests associated with the service and authorized by the trusted entity with which the client equipment is configured by the trusted entity to transmit at least one domain name resolution request as part of access to the service.
[0055] It is also possible to envisage, in other embodiments, that the control and transmission methods, the trusted entity, the client equipment and the system according to the invention have in combination all or part of the aforementioned characteristics.
[0056] Other characteristics and advantages of the present invention will emerge from the description given below, with reference to the appended drawings which illustrate an exemplary embodiment thereof without any limiting character. In the figures:
[0057] represents, in its environment, a system for accessing a service via a network in accordance with the invention, in a particular embodiment;
[0058] schematically represents the hardware architecture of a computer capable of hosting any of the entities according to the invention belonging to the system of the; and
[0059] represents the main steps of a control method and a transmission method according to the invention in a particular embodiment in which they are implemented by the entities of the system of the. Description of the invention
[0060] Larepresents, in its environment, an access system 1 to a service S provided via a network NW, in accordance with the invention, in a particular embodiment. It should be noted that the network NW may be composed of one or more (sub-)networks connected to each other.
[0061] In the example envisaged in the, the service S is an application service offered via the Internet network by a service provider SP to a client device 2 of a user U, in accordance with the invention. No limitation is attached to the nature of the service S thus provided (e.g. web service, voice over IP service, WebRTC service, etc.), nor to the nature of the client device 2 used to access it (e.g. smartphone, desktop or laptop computer, digital tablet, etc.).
[0062] To provide the service S, the service provider SP relies on a service infrastructure hosted in a service domain SR (or "Service Realm" in English). For the sake of simplification, it is considered here that the service domain SR comprises an authoritative server 3 (or "authoritative server" in English) with which, to access the service S, the user U establishes a so-called main connection (C1) via his client equipment 2. This hypothesis is however not limiting in itself, the invention also applies when the service domain SR comprises a plurality of servers (e.g. authoritative server, cache servers, load balancers (or "load balancers" in English), etc.) hosted in a single structure (for example a cloud computing infrastructure or "cloud computing" in English) or a single device, or in several structures or several devices.The service S can also be located in a network other than the Internet, for example in an operator's network or in a public infrastructure (e.g. public cloud).
[0063] In the example envisaged here, it is assumed that to access the Internet network and the service S, the user equipment 2 is connected directly to an operator's network, and more particularly to a cellular access network AN or PLMN (for "Public Land Mobile Network" in English) administered by an operator OP. This hypothesis is however not limiting in itself, and as a variant, the user equipment 3 can be connected to the Internet network via a local area network (or LAN for "Local Area Network" in English) such as a home network, a corporate network, etc., via dedicated equipment designated by CPE (for "Customer Premises Equipment" in English).
[0064] It is assumed here that when the user equipment 2 connects to the network AN of the operator OP to benefit from network connectivity, the operator OP configures the user equipment 2 with reachability information (e.g. IP address(es), domain name, alias, authentication identifier, etc.) of a so-called nominal DNS server 4 to be used to resolve its DNS queries, regardless of the service that the client equipment 2 wishes to access. This reachability information may possibly be modified by the user U, via a user interface provided for this purpose, to replace the nominal DNS server 4 with a public DNS server 5, accessible via the Internet.
[0065] This DNS configuration of the client equipment 2 (whether with the nominal DNS server 4 or with the public DNS server 5) is carried out independently of any access to a service by the client equipment 2, for example prior to any access to a service (in particular for the configuration with the nominal DNS server 4), in other words before any invocation or consumption of the service by the client equipment 2, and applies here once carried out, regardless of the service which the client equipment 2 accesses. It is referred to here as “nominal DNS configuration”.
[0066] It should be noted that for the sake of simplification, a single nominal DNS server 4 has been considered in the nominal DNS configuration. However, it is possible to define several DNS servers in this nominal DNS configuration which can be selected according to the network interface used by the client equipment 2 to access a service.
[0067] As mentioned previously, the system 1 for accessing the service S makes it possible to control the DNS configuration of the client equipment 2 to adapt it to the service S. This control takes place when the client equipment 2 invokes the service S, as detailed further below. For this purpose, the system 1 comprises, in addition to the client equipment 2, a trusted entity 6, in accordance with the invention.
[0068] In the embodiment described here, the trusted entity 6 is an entity with which the provider SP of the service S has a trust relationship. It may be, for example, an entity managed by the provider SP of the service S or an entity with which it has a security relationship. Such an entity is, for example, a coordination entity 7 of the service S located in the service domain SR, or the authoritative server 3.
[0069] It is this trusted entity 6 which, in accordance with the invention, is able to authorize at least one device generally referenced by 8 (also sometimes referred to as “DNS device 8” in the following), specifically designated for the service S, to resolve the DNS queries of the client equipment 2 and to control the DNS configuration of the client equipment 2 so that it addresses the DNS queries that it has in the context of access to the service S to this or these DNS devices 8 for the resolution of the domain names targeted by these DNS queries. The way in which the DNS device(s) 8 are chosen is described in more detail later. They may differ from one client equipment to another. The DNS devices 8 belong in accordance with the invention to the system 1 for accessing the service S.
[0070] In the embodiment described here, the client equipment 2 and the trusted entity 6 for the service S have the hardware architecture of a computer 9 as illustrated in. It is noted that as a variant, the client equipment 2 and / or the trusted entity 6 may be software instances hosted by a physical equipment having the hardware architecture of the computer 9.
[0071] The computer 9 comprises in particular a processor 10, a random access memory 11, a read only memory 12, a non-volatile memory 13, and communication means 14 allowing in particular the entities of the system 1 to communicate with each other.
[0072] The read-only memory 12 of the computer 9 constitutes a recording medium in accordance with the invention, readable by the processor 10 and on which a computer program in accordance with the invention is recorded.
[0073] More specifically, the read-only memory 12 of the computer 9 comprises, when the latter is or hosts a trusted entity 6 in accordance with the invention, a recording of a computer program PROG6, comprising instructions defining the main steps of a control method according to the invention.
[0074] This program PROG6 defines functional modules of the trusted entity 6 which rely on or control the hardware elements 10 to 14 of the computer 9 cited above. These modules comprise in particular, in the embodiment described here: an authorization module 6A, configured to authorize at least one DNS device 8 designated for the service S to resolve domain names addressed to it by the client equipment 2 within the framework of the service S. Depending on the context of application of the invention, the DNS device(s) 8 in question may have been chosen by the trusted entity 6 or by another entity, then validated and authorized by the trusted entity 6. No limitation is attached to the way in which the authorization module 6A authorizes, or in an equivalent manner, validates the intervention of the DNS device(s) 8.For example, if these have been selected by another entity, this validation may result from the existence of a security or trust relationship with this other entity, or from the presence of this other entity in a list of entities authorized by the provider of the service S. One may also envisage a secure exchange between the trusted entity 6 and the DNS devices 8 to verify that they are indeed authorized to act for the resolution of domain names within the framework of the service S, or the presence of these DNS devices 8 in a list provided by the provider of service S, etc.; and a control module 6B, configured to control a DNS configuration of the client equipment 2 applied during access by the client equipment 2 to the service S, so that it transmits to at least one said DNS device 8 designated for the service S and authorized by the authorization module 6A of the trusted entity 6, at least one domain name resolution request issued by the client equipment 2 as part of its access to the service S. The domain name resolution requests concerned are defined by selection rules provided by the control module 6B to the client equipment 2. Such selection rules define the domain names associated with the service S concerned by the configuration, such as for example all the subdomains “*.example.com” or only some of them (e.g. “*.piv.example.com). Different ways can be envisaged for the control module 6B to control the DNS configuration of the client equipment 2.For example, the control module 6B can control the DNS configuration of the client equipment 2 by sending it a message containing a specific header, for example a header named DNS_RESOLVER, this header containing reachability information (e.g. IP address, domain name, alias, authentication identifier, etc.) of said at least one DNS device 8 designated for the service S and indicating to the client equipment 2 that it must address its DNS requests to this or these DNS devices 8. This message can be sent asynchronously (spontaneously) by the control module 6B to the client equipment 2 or in response to an invocation message of the service S. It can further comprise at least one piece of information characterizing a functional capacity of each of the DNS devices 8, such as for example a list of methods, or records (RR) or even protocols supported by each of the DNS devices 8.Alternatively, the control module 6B may act through another entity in the network to transmit such a DNS_RESOLVER header to the client equipment 2. In yet another alternative, the control may be performed via the transmission of a dedicated option or a dedicated frame rather than a DNS_RESOLVER header. Still other alternative variants may be envisaged as an alternative or complementary manner.
[0075] The functions of modules 6A and 6B are described in more detail later with reference to the steps of the control method according to the invention.
[0076] When the computer 9 is or hosts client equipment 2 in accordance with the invention,
[0077] the read-only memory 12 of the computer 9 then comprises a recording of a computer program PROG2, comprising instructions defining the main steps of a transmission method according to the invention.
[0078] This program PROG2 defines functional modules of the client equipment 2 which rely on or control the hardware elements 10 to 14 of the computer 9 mentioned above. These modules comprise in particular, in the embodiment described here: a module 2A for storing a DNS configuration, comprising the reachability information (e.g. IP address, domain name, alias, authentication identifier, etc.) of one or more DNS servers to be used for resolving domain names. The storage module 2A here comprises, following the connection of the client equipment 2 to the network AN, the reachability information, and more particularly the IP address, of the nominal DNS server 4 (or of a nominal DNS server in the case of a plurality of nominal DNS servers). Alternatively, if the user U of the client equipment 2 has modified this configuration, the storage module 2A may comprise the reachability information of the public DNS server 5.In any event, the storage module 2A comprises the reachability information of the DNS server of the nominal DNS configuration, introduced previously; a modification module 2B, configured to modify, during access to the service S and under the control of the trusted entity 6, the DNS configuration of the client equipment 2 applies to resolve its DNS queries so that the client equipment 2 transmits to at least one DNS device 8, designated for the service S and authorized by the trusted entity 6, at least one domain name resolution request within the framework of the service S. In the embodiment described here, the DNS configuration, including the rules for selecting the DNS queries concerned and defined by the module 6B of the trusted entity 6 (in other words those associated with the service S) and the reachability information(s) of the DNS device(s) 8, is recorded in a local 2D cache of the client equipment 2.Each entry in the 2D cache matches a DNS configuration to a given service and is associated here with a validity period: as long as the validity period of an entry has not expired, it is applied by the client equipment 2 for the service concerned, which is advantageous in the case of recurrent invocation of said service as illustrated later. It is noted that the selection rules associated with each DNS configuration advantageously make it possible to distinguish the DNS configurations stored in the local 2D cache and which may concern several distinct services, and thus to allow the client equipment 2 to apply, depending on the service concerned, the correct DNS configuration.Alternatively, one can envisage a local cache per service; and a transmission module 2C, configured to transmit at least one domain name resolution request as part of access to the service S (i.e. corresponding to the aforementioned selection rules) to one of the DNS servers identified in the DNS configuration stored in the local cache 2D. Thus, before execution of the invention, the transmission module 2C is configured to transmit its DNS requests to the nominal DNS server 4 or to the public DNS server 5 according to the nominal DNS configuration adopted and stored in the storage module 2A; after execution of the control method according to the invention, the transmission module 2C is configured to transmit its DNS requests issued as part of access to the service S to one of the DNS devices 8 authorized by the trusted entity 6 identified in the local cache 2D.In the embodiment described here, if several DNS devices 8 are authorized by the trusted entity 6 in the context of access to the service S, the transmission module 2C is configured to obtain at least one piece of information characterizing a functional capacity of each of the authorized DNS devices 8 (e.g., list of methods, RR records or protocols supported by each of the DNS devices 8) and to select one of them according to its functional capacities. This information on the functional capacities of the DNS devices 8 can be stored in the DNS configuration stored in the local cache 2D. Alternatively, other selection criteria can be envisaged, such as, for example, the location of the DNS server relative to that of the client equipment 2, etc.
[0079] The functions of modules 2A to 2C are described in more detail later with reference to the steps of the transmission method according to the invention.
[0080] We will now describe, with reference to the, the main steps of a control method and a transmission method according to the invention as they are implemented respectively by the trusted entity 6 and by the client equipment 2 of the system 1 in a particular embodiment.
[0081] In the example illustrated in, it is assumed that the entities of system 1 and the network use a version of the HTTP protocol to communicate with each other. However, this assumption is not limiting in itself, the invention applies in combination with other protocols, such as for example the CoAP protocol, the QUIC protocol, etc.
[0082] Furthermore, in the example considered in, the trusted entity 6 is the authoritative server 3.
[0083] As mentioned previously, it is assumed as a preliminary that the client equipment 2 is configured to use the nominal DNS configuration introduced previously, in other words to transmit its domain name resolution requests or DNS requests to the nominal DNS server 4. In other words, the local cache 2D does not contain any alternative DNS configuration to the nominal DNS configuration to be applied in the context of access to the service S.
[0084] Thus, when the client equipment 2 wishes to access the service S, and in particular establish a connection with the authoritative server 3, it sends, via its transmission module 2C, a DNS request designated by QUERY(3), to its nominal DNS server 4 (step H10). The nominal DNS server 4 responds to it, in a manner known per se, by providing an IP address, noted @IP3, of the authoritative server 3 (step H20). In particular, to provide this response, it can contact recursive DNS servers if necessary.
[0085] After having established a connection with the authoritative server 3 in a manner known per se (underlying connection to the service), for example via an exchange based on the TCP and TLS protocols, the client equipment 2 then sends an HTTP POST request for access to the service S to the authoritative server 3 using as the destination address the IP address @IP3 which was transmitted to it (step H30).
[0086] As mentioned previously, in the example envisaged here, the authoritative server 3 acts as a trusted entity 6 according to the invention. It therefore comprises the modules 6A and 6B of the trusted entity 6 described previously.
[0087] Thus, upon receipt of the HTTP POST access request from the client equipment 2, the authoritative server 3 (acting as a trusted entity 6) processes this request. It also consults its authorization module 6A to obtain the reachability information (e.g., IP addresses here) of the DNS device(s) 8 authorized for the service S to resolve the DNS queries issued in the context of access to the service S. It is assumed here that a number K greater than or equal to 1 of DNS devices 8 are concerned. These K DNS devices are referred to respectively as DNS devices 8-1, 8-2, …, 8-K in the following.
[0088] The authoritative server 3 then inserts, via its control module 6B, into its HTTP 200 OK response to the HTTP POST access request received from the client equipment 2, the K IP addresses, @IP8-1, …, @IP8-K of the K DNS devices 8 provided by its authorization module 6A, an indication (explicit or implicit) that the client equipment 2 must send its future DNS requests issued within the framework of the service S to at least one of said K DNS devices 8, as well as here, the rules for selecting the DNS requests applying to these K DNS devices 8 (in other words, the rules which allow the client equipment 2 to recognize the DNS requests associated with the service S which must be addressed to these DNS devices 8). Then it transmits the HTTP 200 OK response to the client equipment 2 (step H40).In the embodiment described here, the addresses @IP8-1, …, @IP8-K are inserted by the control module 6B into the DNS_RESOLVER header which in itself indicates to the client equipment 2 that it must send its future DNS requests issued within the framework of the service S to at least one of the DNS devices 8 associated with one of the addresses @IP8-1, …, @IP8-K. The control module 6B also inserts into the DNS_RESOLVER header in association with each IP address, at least one piece of information characterizing at least one functional capacity as described above of the DNS device 8 corresponding to this IP address (e.g. a list of protocols or RR records or even methods supported by each DNS device 8, or a combination of such lists). It can further insert into the DNS_RESOLVER header a validity period associated with the DNS configuration thus transmitted for the service S.It should be noted, however, that this validity period is optional and that, as a variant, it is possible to envisage that the DNS configuration applies at the level of client equipment 2 as long as it is not modified by trusted entity 6.
[0089] Functional capabilities can, depending on their nature, be inserted into different fields of the DNS_RESOLVER header. For example, the transport protocols supported by the DNS 8 device in question are in a TRANSPORT_SET field, the RR records in an RR_SET field, and the methods in a QUERY_SET field. Of course, these names are given for illustrative purposes only.
[0090] The insertion of the DNS_RESOLVER header in the HTTP 200 OK response to the HTTP POST request is a control step within the meaning of the invention by the authoritative server 3 acting as a trusted entity 6.
[0091] It is noted that in the example considered here, the DNS_RESOLVER header is inserted in a response to an HTTP POST access request to the service sent after the establishment of the underlying connection to the service S between the client equipment 2 and the authoritative server 3. However, it is possible to envisage, as a variant, that such a header is inserted in a response to an HTTP POST request sent during the procedure for establishing the underlying connection to the service S. Such an HTTP POST request can for example be sent in a SYN and ClientHello TLS message if the TCP Fast Open and 0-RTT TLS mechanisms described respectively in the IETF RFC 7413 and RFC 8446 documents are activated.
[0092] In another variant, the previously cited indications, carried by the DNS_RESOLVER header, are inserted into a TCP and / or TLS option in response to a request for access to the service or to a request to establish the underlying connection to the service S.
[0093] Upon receipt of the HTTP 200 OK response from the authoritative server 3 and detection of the DNS_RESOLVER header included in the response, the modification module 2B of the client equipment 2 modifies the DNS configuration applied by the client equipment 2 (which corresponds here to that which is stored in the storage module 2A in the absence of DNS configuration associated with the service S stored in the local cache 2D). More specifically, it stores in the local cache 2D the addresses @IP8-1, …, @IP8-K of the DNS devices 8 included in the DNS_RESOLVER header to be used when accessing the service S as well as the selection rules allowing the client equipment 2 to identify the DNS requests concerned by these DNS devices (step H50).
[0094] In this way, the transmission module 2C of the client equipment 2 addresses the future DNS requests (QUERY(X)) sent within the framework of the service S (for example, all requests relating to the subdomains “*.example.com” according to the selection rules defined by the trusted entity 6) to one of the DNS devices 8 identified in the new DNS configuration stored in the local cache 2D (and no longer to its nominal DNS server 4 as in step H10, which can however continue to be requested for DNS requests sent within the framework of services other than the service S and not concerned by the DNS configuration stored in the local cache 2D) (e.g. steps 60, H70).
[0095] It is noted that these DNS queries may target a public domain name, but also a private domain name that the DNS devices 8 are adapted to resolve, or a domain name generated within the framework of the service S for the client equipment 2, or an ephemeral domain name generated within the framework of the service S, etc., or even a domain name verifying several of these characteristics. By adapting the DNS configuration of the client equipment 2 according to the service S, great flexibility is offered to the provider of the service S in terms of DNS resolution.
[0096] Furthermore, it should also be noted that if, before step H10, the local cache 2D already comprises a DNS configuration to be applied for the service S different from the nominal DNS configuration, and this DNS configuration is associated in the local cache 2D with an unexpired validity period, then during step H10, the client equipment 2 applies this DNS configuration recorded in the local cache 2D and directly addresses one of the DNS devices 8 to resolve its DNS query. Said device provides the @IP3 address of the authoritative server 3 in response to the DNS query sent by the client equipment 2 during step H20. Steps H30 and H40 are maintained and make it possible, if necessary, to extend the validity period of the DNS configuration already stored in the local cache 2D for the service S, or if the DNS configuration applying to the service S has been modified by the trusted entity 6, to modify this DNS configuration.
[0097] As mentioned previously, if several DNS devices 8 are identified in the new DNS configuration stored by the local cache 2D, for each DNS QUERY(X) request to be sent by the client equipment 2, the transmission module 2C selects one of the DNS devices 8 according to a given criterion. Such a criterion is for example here the functional capabilities of the DNS devices 8.
[0098] Thus, for illustration purposes, for K=2, let us assume that the DNS_RESOLVER header received by the client equipment 2 indicates a list of methods supported by each of the DNS devices 8-1, 8-2, and more particularly for the DNS device 8-1 the HTTP methods {GET, POST, FETCH}, and for the DNS device 8-2 the HTTP methods {GET, POST}. Then the transmission module 2C can indifferently select the DNS device 8-1 or the device 8-2 for sending DNS GET and POST requests, and select the device 8-1 only for sending DNS FETCH requests.
[0099] According to another illustrative example for K=2 still, let us suppose that the DNS_RESOLVER header received by the client equipment 2 indicates a list of RR records supported by each of the DNS devices 8-1, 8-2, and more particularly for the DNS device 8-1 a record of type SVCB (“ServiCe Binding”, in English) while for the DNS device 8-2 a record of type MX (“Mail eXchange”, in English). Then the transmission module 2C selects the DNS device 8-1 to resolve the DNS queries relating to an SVCB record.
[0100] According to another illustrative example for K=2, suppose that the DNS_RESOLVER header received by the client equipment 2 indicates a list of protocols supported by each of the DNS devices 8-1, 8-2, and more particularly for the DNS device 8-1 the Do53 and DoQ protocols, while for the DNS device 8-2 the DoH (DNS over HTTPS) and DoC (DNS over CoAP) protocols, the DoT (DNS over TLS) protocol, the Do53, DoQ (DNS over QUIC), DoH and DoC protocols being known to those skilled in the art and not detailed here. Then the transmission module 2C supporting the DoH protocol can decide to select only the DNS device 8-1 to resolve its DNS queries.
[0101] Alternatively, other criteria may be considered, such as for example a random selection, or a selection of a DNS device 8 based on its geographical proximity to the client equipment 2, or even a combination of several criteria, etc.
[0102] In the example just considered, the new DNS configuration to be applied is communicated by the authoritative server 3 / the trusted entity 6 to the client equipment 2 in response to its request for access to the service S. It should however be noted that this hypothesis is not limiting in itself and that the new configuration can be communicated to the client equipment 2 in response to any other message invoking the service S, as long as it is sent while the client equipment 2 is accessing the service S. Alternatively, the indication to apply the new DNS configuration can be transmitted by the authoritative server 3 / the trusted entity 6 to the client equipment 2 asynchronously or spontaneously, that is to say without being linked to a message invoking the particular service S sent by the client equipment 2.
[0103] Furthermore, in the example just described, the authoritative server 3 / the trusted entity 6 itself indicates to the client equipment 2 the new DNS configuration to be applied for the service S, in other words the authoritative server 3 / the trusted entity 6 directly modifies the DNS configuration applied by the client equipment 2 for the service S. Alternatively, the modification at the level of the client equipment 2 can be controlled (i.e. decided) by the trusted entity 6 but be implemented in the client equipment 2 by an intermediate entity. This intermediate entity can be any entity with which the trusted entity 6 maintains a relationship of trust and / or security, such as for example an entity of the service infrastructure or a third-party entity placed in particular on the communications path taken when accessing the service by the client equipment.It may even be one of the DNS devices it has authorized for the service.
[0104] It should also be noted that in the embodiment just described, the authoritative service 3 / the trusted entity 6 is a trusted entity 6 for the service, since it is an entity of the infrastructure on which the service is based. However, it is possible to envisage other trusted entities than entities of the service infrastructure, such as for example an entity designated by the service provider or another infrastructure with which the service provider has established an agreement based on a relationship of trust.
[0105] It is also possible to envisage applying the invention in a context where the trusted entity that controls the DNS configuration used by the client equipment 2 when it accesses the service S is a trusted entity for the client equipment 2. For example, it may be an intermediate equipment via which the client equipment 2 establishes a connection with the Internet network to access the service S and with which it has itself established a secure connection (for example encrypted, or a secure communication tunnel) so that all messages sent and received by the client equipment 2 when accessing the service S pass through this intermediate equipment. Such an intermediate equipment may be, for example, a CPE (for "Customer Premises Equipment") type equipment, or a relay or proxy located in the interface Gi of a mobile network, etc.It can then be envisaged that it is configured with a list of rules allowing it to select the appropriate DNS devices for a given service. This list of rules can come from measurements carried out by the intermediate equipment in question or by another equipment allowing the intermediate equipment to classify the DNS devices according to, for example, their availability or their performance.
[0106] We will now detail, for illustrative purposes, several use cases of the invention. These different use cases guide or impact the choice of DNS devices to which to direct DNS requests from the client equipment when accessing the service.
[0107] According to a first use case, DNS devices for service S are designated as devices in the network NW through which connections established by the client equipment within the framework of service S are to be transmitted. These connections may include the main connection established by the client equipment with the authoritative server to access the service, but also all the secondary connections established on the margins of this main connection, sometimes without the knowledge of the user of the client equipment. The DNS devices thus designated can thus resolve each DNS query sent by the client equipment 2 by providing their own IP addresses so as to receive each data packet sent by the client equipment on the main and secondary connections.Upon receipt of these data packets, they can then implement various processing operations, such as analyzing the content of these packets to determine whether they contain user identification information, or other information they wish to track. DNS devices can also alternatively resolve each query issued by the client equipment by providing the IP address of another trusted device responsible for such processing. This use case makes it possible to place given devices on the path of the primary and secondary connections established by the client equipment as part of the service S.
[0108] According to a second use case, DNS devices for the service S are designated as DNS devices that have been configured to resolve, among other things, domain name queries relating to private and / or personalized and / or ephemeral domain names, generated within the framework of the service S, for example by the service provider. These domain names are deliberately kept secret and will remain unknown to the public or nominal DNS servers configured by the network operators. This second use case can be adopted as a security measure to prevent denial of service attacks, for example. It also allows the service provider to consider customizable domain names, and for example to generate personalized domain names based on the identity of the user of the client equipment, or ephemeral domain names.The use of service-specific DNS devices makes it easier to add and / or remove such domain names and avoids the latency induced by such an approach with a public / nominal DNS server.
[0109] According to a third use case, it is possible to designate as DNS devices for the service S, DNS devices that have been configured to perform a personalized resolution of DNS requests addressed by a client device, for example in order to comply with service constraints. For example, such a DNS device can return to a client device an IP address for a domain name and located near the client device (e.g. having a delay of less than "x ms").
[0110] According to a fourth use case, one can consider designating as DNS devices for the service S DNS devices that implement advanced DNS functions, which are not implemented by public or nominal DNS servers provided by network operators (for example that support the DoC protocol, as described in the MS Lenders document entitled “DNS Queries over CoAP (DoC), draft-lenders-dns-over-cap-01”, 1 er September 2021.
[0111] Of course, other cases of use of the invention can be envisaged in addition to those which have just been cited.
Claims
A method for controlling a client device (2) to access a service via at least one network, said method of control being intended to be implemented by a trusted entity (6,3) for said service and / or for said client device and comprising a control step (H40) of a configuration of said client device, when it accesses said service, so that it transmits to at least one device (8;8-1, …, 8-K) designated for said service and authorized by said trusted entity, at least one domain name resolution request issued by said client device in connection with said service. Control method according to claim 1 wherein said trusted entity (3) is a server involved in the provision of said service. Control method according to claim 1 wherein said trusted entity (6) is an intermediate entity placed on a communication path used when accessing said customer equipment said service. A control method according to any one of claims 1 to 3 wherein the control step (H40) of a configuration of said client equipment includes a transmission by the trusting entity to said client equipment of a message including at least one reachability information (@IP8-1, …, @IP8-K) of at least one said device designated for said service and authorized by said trusting entity. Control method according to claim 4 wherein said message is a response message to a service invocation message issued by said client equipment or a message sent asynchronously by said trusted entity. Control method according to claim 4 or 5 wherein said at least one reachability information is included in a header, an option, a frame, an attribute, or a message payload. A control method according to any one of claims 4 to 6 wherein said message conforms to a version of an HTTP (HyperText Transfer Protocol) or a CoAP (Constrained Application Protocol) or a QUIC protocol. Control method according to any one of claims 4 to 7 wherein said message includes, for at least one said device designated for said service and authorized by said trusted entity, at least one piece of information characterizing at least one functional capability of said device. A control method according to any one of claims 1 to 8 wherein at least one of said domain name resolution queries relates to: a private domain name; and / or a domain name generated as part of said service for said client equipment; and / or an ephemeral domain name. A method for transmitting at least one domain name resolution request intended to be implemented by a client device (2) within the framework of a service provided via a network, said method comprising: a step (H50) of modifying, during access to said service and under the control of a trusted entity for said service and / or said client device, a configuration of the client device so that it transmits to at least one device designated for processing domain name resolution requests associated with the service and authorized by said trusted entity, at least one domain name resolution request issued by said client device within the framework of said service; and a step (H60, H70) of transmitting at least one domain name resolution request within the framework of said service to at least one of said designated devices. Computer program (PROG6,PROG2) comprising instructions for the execution of a control method according to any one of claims 1 to 9 or a transmission method according to claim 10, when said program is executed by a computer. Computer-readable recording medium (12) (9) on which a computer program according to claim 11 is recorded. Trusted entity (6) for a service and / or for a client device on a network, said trusted entity comprising a control module (6B) configured to control a configuration of said client device when accessing said service, so that it transmits to at least one device designated for said service and authorized by said trusted entity, at least one domain name resolution request issued by said client device within the framework of said service. Client equipment (2) of a network comprising: a modification module (2B), configured to modify, when accessing a service provided via the network and under the control of a trusted entity for said service and / or said client equipment, a configuration of the client equipment so that it transmits to at least one device designated for processing domain name resolution requests associated with the service and authorized by said trusted entity at least one domain name resolution request issued by said client equipment within the framework of said service; and a transmission module (2C), configured to transmit at least one domain name resolution request within the framework of said service to at least one said designated device. Client equipment according to claim 14 further comprising a retrieval module (2C) configured to obtain for at least one said designated device information characterizing at least one functional capability of that device, said transmission module being configured to transmit said at least one domain name resolution request to said device selected according to said at least one functional capability of that device. System (1) for accessing a service provided via a network comprising: a trusting entity (6) according to claim 13; a client device (2) according to claim 14 or 15; and at least one device (8; 8-1, …, 8-K) designated for processing domain name resolution requests associated with said service and authorized by said trusting entity with which said client device is configured by said trusting entity to transmit at least one domain name resolution request as part of access to said service.
