Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3423

[Software] Debian 12 can't resolve fqdn via curl wget or .etc

$
0
0
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:

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
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:

Code:

root@test-d66bdb765-8xllb:/# curl test-staging-services.my_fqdn.ru/pingcurl: (6) Could not resolve host: test-staging-services.my_fqdn.ru
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

Statistics: Posted by osipov — 2024-02-06 11:00 — Replies 0 — Views 75



Viewing all articles
Browse latest Browse all 3423

Trending Articles