域名解析方法、装置、节点、电子设备及存储介质

By implementing socket-level redirection of domain name resolution requests in a Kubernetes cluster using eBPF technology, the performance overhead caused by the combination of node-local DNS services and kernel services is resolved, thereby improving the speed and efficiency of domain name resolution.

CN117544592BActive Publication Date: 2026-07-17INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2023-10-08
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In Kubernetes clusters, the combination of node-local DNS service and kernel service for domain name resolution results in significant performance overhead, especially when the number of domain name resolution requests is high, leading to noticeable latency.

Method used

By leveraging the programmability of the eBPF kernel and storing Socket information using a Map structure, domain name resolution requests can be directly redirected at the Socket layer, bypassing the TCP/IP protocol stack. This allows requests to be redirected directly to container groups with local resolution capabilities at the Socket layer, reducing performance overhead.

Benefits of technology

It improves the speed of domain name resolution between Pods within the same node in the Kubernetes cluster, reduces the performance consumption of the node, and improves the efficiency of domain name resolution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117544592B_ABST
    Figure CN117544592B_ABST
Patent Text Reader

Abstract

本申请提供一种域名解析方法、装置、节点、电子设备及存储介质,涉及计算机技术领域,该方法包括:获取第一容器组发送的域名解析请求,并基于域名解析请求中的源网络地址确定与第一容器组相关联的第一Map;基于第一Map确定第二容器组的网络地址,并基于第二容器组的网络地址将域名解析请求重定向至第二容器组的Sokcet层;获取第二容器组针对域名解析请求反馈的第一域名解析结果,并将第一域名解析结果通过原路径发送至第一容器组。本申请提供的域名解析方法、装置、节点、电子设备及存储介质,用于提高Kubernetes集群同节点内容器组之间的域名解析速度,降低对节点性能的消耗。
Need to check novelty before this filing date? Find Prior Art