DNS-Based Cluster Topology Mapping for Network Policy Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for determining network topology in computing clusters, such as Kubernetes environments, are computationally intensive and specific to the version of the Kubernetes cluster network interface (CNI) implementation, lacking efficiency and flexibility.

Innovation Solution

Utilizing DNS requests to infer connection and dependency relationships between pods and services within a computing cluster, generating network topology information that is agnostic to the CNI implementation, and using this information to automatically or semi-automatically generate network policies to manage network connectivity and security.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If network flow logs are used to determine network topology, then network connection information can be obtained, but the computational complexity and resource consumption increase significantly

Engineering Contradiction:
Improvenetwork topology information accuracyVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent extracts only the necessary DNS query information (source IP, destination domain, query type) from network traffic to build topology graphs, avoiding the need to process entire network flow logs. This selective extraction maintains topology accuracy while dramatically reducing computational overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent uses DNS query records as a simplified copy or representation of actual network connections. Instead of analyzing complete network flow data, it creates a topological model based on DNS resolution patterns, which captures essential connectivity information with minimal processing requirements.

Inventive Principle:
Principle #26Copying

2Measurement precision

If CNI-specific methods are used to determine network topology, then detailed cluster interface information can be obtained, but the solution becomes specific to particular Kubernetes versions and CNI implementations

Engineering Contradiction:
Improvecluster interface information accuracyVSAvoidKubernetes version compatibility
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent implements a universal DNS-based topology detection method that works across different Kubernetes versions and CNI implementations. By using DNS queries as the common denominator for network communication, the solution achieves multi-functionality and broad adaptability without being tied to specific cluster interface versions.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

Instead of analyzing network traffic from the traditional CNI perspective (interface-level), the patent inverts the approach by using DNS application-layer queries to infer network topology. This inversion bypasses CNI version dependencies and provides a version-agnostic solution.

Inventive Principle:
Principle #13The other way round (Inversion)

3Loss of information

If comprehensive network flow log analysis is performed, then complete network dependency relationships can be identified, but the processing time and system complexity increase

Engineering Contradiction:
Improvedependency relationship completenessVSAvoidtopology determination time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The patent performs preliminary DNS query collection and filtering before topology construction. By pre-processing and storing DNS resolution data, the system prepares connectivity information in advance, enabling faster topology graph generation when needed without performing comprehensive flow log analysis in real-time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses DNS query samples as a partial representation of complete network traffic. Rather than analyzing every network flow, it processes DNS queries which provide sufficient information for topology inference, achieving acceptable dependency relationship identification with reduced processing time.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20260058877A1Determining network topology information from domain name system (DNS) queries
Publication Date: 2026.02.26 MICROSOFT TECHNOLOGY LICENSING LLC
  • US20260058877A1 patent drawing
  • US20260058877A1 patent drawing
  • US20260058877A1 patent drawing

AI summary

Systems, methods, apparatuses, and computer program products are disclosed for determining network topology information using domain name system (DNS) queries. Network connection and dependency information of elements in a compute cluster are determined from DNS requests. A network topology is generated based on the determined network connection and dependency information. A network policy is generated for the computing cluster based on the network topology.