当前位置:网站首页>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 .
边栏推荐
- April 23, 2021: there are n cities in the TSP problem, and there is a distance between any two cities
- 【附下载】汉化版Awvs安装与简单使用
- HMM to CRF understanding and learning notes
- nifi从入门到实战(保姆级教程)——环境篇
- Solution to the problem that FreeRTOS does not execute new tasks
- PHP export data as excel table
- Here comes Wi Fi 7. How strong is it?
- Decomposition of Uber dependency injection into dig source code analysis
- clang: warning: argument unused during compilation: ‘-no-pie‘ [-Wunused-command-line-argument]
- [cloud native | kubernetes chapter] Introduction to kubernetes Foundation (III)
猜你喜欢

国产芯片的赶超,让美国手机芯片龙头高通害怕了,出招应对竞争

Several common DoS attacks

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

推荐几款超级实用的数据分析利器

Cap: multiple attention mechanism, interesting fine-grained classification scheme | AAAI 2021

I just came back from the Ali software test. I worked for Alibaba P7 in 3+1, with an annual salary of 28*15

Solution of intelligent all in one machine in expressway service area

Jenkins 镜像无法更新插件中心的3种解决方法
![clang: warning: argument unused during compilation: ‘-no-pie‘ [-Wunused-command-line-argument]](/img/f0/42f394dbc989d381387c7b953d2a39.jpg)
clang: warning: argument unused during compilation: ‘-no-pie‘ [-Wunused-command-line-argument]

MySQL binlog
随机推荐
微信公众号调试与Natapp环境搭建
手机同花顺股票开户安全吗!
Easy installation of Jenkins
Cap: multiple attention mechanism, interesting fine-grained classification scheme | AAAI 2021
PHP application container deployment practice
PHP export data as excel table
Istio FAQ: region awareness does not take effect
Flink kubernetes application deployment
How to obtain ECS metadata
How to use nested tags in thymeleaf3 Tags
Linux record -4.22 MySQL 5.37 installation (supplementary)
Golang+redis reentrant lock
安装ImageMagick7.1库以及php的Imagick扩展
"Industry foresight" future development trend of intelligent security monitoring industry
Install the imagemagick7.1 library and the imageick extension for PHP
2021-04-25: given an array arr and a positive number m, the
[my advanced OpenGL learning journey] learning notes of OpenGL coordinate system
Special topic of IM code scanning login Technology (III): easy to understand. A detailed principle of IM code scanning login function is enough
The penetration of 5g users of operators is far slower than that of 4G. The popularity of 5g still depends on China Radio and television
一文详解JackSon配置信息