当前位置:网站首页>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 .
边栏推荐
- Istio FAQ: return 426 status code
- Is it safe to open an account for flush stock on mobile phone!
- Mongodb Getting started Practical Tutoriel: Learning Summary Table des matières
- 用 Oasis 开发一个跳一跳(一)—— 场景搭建
- Nature刊登量子计算重大进展:有史以来第一个量子集成电路实现
- I just came back from the Ali software test. I worked for Alibaba P7 in 3+1, with an annual salary of 28*15
- 不忘初心
- Intelij 中的 Database Tools可以连接但是无法显示SCHEMA, TABLES
- [log service CLS] Tencent cloud log4j/logback log collection best practices
- 2021-04-22: given many line segments, each line segment has two numbers [start, end],
猜你喜欢

FreeRTOS新建任务不执行问题解决办法

【应用推荐】最近大火的Apifox & Apipost 上手体验与选型建议

Three solutions for Jenkins image failing to update plug-in Center

Build go command line program tool chain

VNC Viewer方式的远程连接树莓派

高速公路服务区智能一体机解决方案

几种常见的DoS攻击

还在担心漏测吗?快来使用jacoco统计下代码覆盖率

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

实现领域驱动设计 - 使用ABP框架 - 领域逻辑 & 应用逻辑
随机推荐
Golang+redis distributed mutex
60 divine vs Code plug-ins!!
How to implement SQLSERVER database migration in container
构建Go命令行程序工具链
MySQL binlog
2021-04-24: handwriting Code: topology sorting.
MongoDB入门实战教程:学习总结目录
One article explains Jackson configuration information in detail
Nature publishes significant progress in quantum computing: the first quantum integrated circuit implementation in history
MySQL 开发规范
Understanding openstack network
如何在Thymeleaf3标签中使用嵌套标签
运营商5G用户渗透远远比4G慢,5G的普及还得看中国广电
安裝ImageMagick7.1庫以及php的Imagick擴展
存在安全隐患 路虎召回部分混动揽运
Remain true to our original aspiration
Efficient tools commonly used by individuals
Mongodb introductory practical tutorial: learning summary directory
【Prometheus】5. Alertmanager alarm (incomplete)
期货公司开户安全吗