当前位置:网站首页>Istio FAQ: failed to resolve after enabling smart DNS
Istio FAQ: failed to resolve after enabling smart DNS
2022-06-24 15:55:00 【imroc】
This article excerpts from istio Learning notes
Problem description
When enabled istio Of Smart DNS ( intelligence DNS) after , We found that in some cases DNS Parse failure , such as :
- be based on alpine In container resolution of the image dns Failure .
- grpc Service parsing dns Failure .
reason
Smart DNS There are some problems in the initial implementation , Responsive DNS The packet format is the same as that of the normal DNS There are some differences , Go to the bottom storehouse glibc No problem with parsing , But use other dns The client may fail :
- alpine Mirror the underlying library to use musl libc, Analytic behavior is similar to glibc It's a little bit different ,musl libc In this case, the abnormal packet format will lead to the failure of parsing , Most applications use the underlying library to parse , Most applications fail to parse .
- be based on c/c++ Of grpc Framework Services ,dns Parsing defaults to c-ares library , There is no system call to allow the underlying library to parse ,c-ares In this packet exception , Some scenarios will fail to parse .
Repair
stay istio 1.9.2 Time to fix this problem , Reference key PR #31251 And one of them issue .
avoid
If the upgrade is temporarily unavailable istio To 1.9.2 above , You can avoid it in the following ways :
- The basic image is from alpine Mirror to another mirror ( The underlying libraries of other basic images are basically glibc).
- c/c++ Of grpc service , Appoint
GRPC_DNS_RESOLVERThe environment variable isnative, It means that the underlying library is used for parsing , Don't go by default c-ares library . Environment variable interpretation reference GRPC Official documents .
边栏推荐
- Vim编辑器的最常用的用法
- Still worried about missing measurements? Let's use Jacobo to calculate the code coverage
- VNC Viewer方式的远程连接树莓派
- CAP:多重注意力机制,有趣的细粒度分类方案 | AAAI 2021
- Using oasis to develop a hop by hop (I) -- Scene Building
- Using alicloud RDS for SQL Server Performance insight to optimize database load - first understanding of performance insight
- My network relationship with "apifox"
- 刚刚阿里面软件测试回来,3+1面任职阿里P7,年薪28*15薪
- New de debugging
- Convert text to hexadecimal, and reverse
猜你喜欢

Linux记录-4.22 MySQL5.37安装(补充)
![[application recommendation] the hands-on experience and model selection suggestions of apifox & apipost in the recent fire](/img/dd/24df91a8a1cf1f1b9ac635abd6863a.png)
[application recommendation] the hands-on experience and model selection suggestions of apifox & apipost in the recent fire

使用阿里云RDS for SQL Server性能洞察优化数据库负载-初识性能洞察

为什么企业实施WMS仓储管理系统很容易失败

Vim编辑器的最常用的用法

一文详解JackSon配置信息

存在安全隐患 部分冒险家混动版将召回

Why is it easy for enterprises to fail in implementing WMS warehouse management system

运营商5G用户渗透远远比4G慢,5G的普及还得看中国广电

Three solutions for Jenkins image failing to update plug-in Center
随机推荐
Wechat official account debugging and natapp environment building
MySQL development specification
The first in China! Tencent cloud key management system passes password application verification test
一文理解OpenStack网络
Golang+redis distributed mutex
clang: warning: argument unused during compilation: ‘-no-pie‘ [-Wunused-command-line-argument]
个人常用的高效工具
【Prometheus】5. Alertmanager alarm (incomplete)
Design of CAN bus controller based on FPGA (Part 2)
Poor remote code execution in Alien Swarm
How to efficiently transfer enterprise business data?
MySQL binlog
The cold winter can't stop the determination to enter the big factory. The Android interview has a complete knowledge structure, and everything you need to master in the interview is here!
Easynvr has been connected to the third-party supervision platform. How to achieve local Internet access
Summary of common tools and usage
SIGGRAPH 2022 | 真实还原手部肌肉,数字人双手这次有了骨骼、肌肉、皮肤
Build go command line program tool chain
日志记录真没你想的那么简单
How to implement SQLSERVER database migration in container
The equipment is connected to the easycvr platform through the national standard gb28181. How to solve the problem of disconnection?