Hello there! I run container image debian:12.4 in k8s
1. When i try resolve fqdn via nslookup or dig - pod can resolve successfully:
2. My coredns config has rewrite for *-services.my_fqdn.ru onto *.service.consul-services-staging
3. But when i run curl, can't resolve:4. On debian 11 or ubuntu 22 everything is working. Doesn't work only on debian 12
Help please, why debian can resolve fqdn via dif or nslookup, but curl wget .etc can't resolve? I will be glad for any ideas
1. When i try resolve fqdn via nslookup or dig - pod can resolve successfully:
Code:
root@test-d66bdb765-8xllb:/# nslookup test-staging-services.my_fqdn.ruServer:10.141.128.2Address:10.141.128.2#53Name:tenant-test-staging-services.service.consul-services-stagingAddress: 192.168.31.41
3. But when i run curl, can't resolve:
Code:
root@test-d66bdb765-8xllb:/# curl test-staging-services.my_fqdn.ru/pingcurl: (6) Could not resolve host: test-staging-services.my_fqdn.ru
Help please, why debian can resolve fqdn via dif or nslookup, but curl wget .etc can't resolve? I will be glad for any ideas
Statistics: Posted by osipov — 2024-02-06 11:00 — Replies 0 — Views 75