-
Notifications
You must be signed in to change notification settings - Fork 47
Bug: massiv latency impact when using dnsname (workaround in comment 3) #55
Comments
Update for a redo in the same container:
|
Additional update / workaround: Using the internal fqdn (excluding the search domain) solves the issue:
For me, this is good enough, but maybe worth an inspection how dnsname/dnsmasq are resolving search domains/priorities these. Maybe internet resolving is tried first and times out or so. Not sure. |
@baude Dunno, if this may impact the docker-compose functionality of podman3.0, but it may be worth a look. it is very common to define multiple networks in docker-compose and communicate via hostnames. |
@daniel-wtd can you try with |
Hi, I started both of the containers with
|
OK I think we should add this automatically when dnsname is used. In order to do so dnsname has to add the dns search domain to the cni result and podman has to read the search domain and add it to resolv.conf. |
Sounds like a plan. There may be the situation like: networks
containers
And I am not sure, if there are limitations in the resolvers. (count of dns search entries, dns server entries) |
Note that dnsname currently only works for one attached network, see containers/podman#8399, containers/podman#9492 and #12 |
#57 and containers/podman#9501 should fix this |
@Luap99 can we close this issue now? |
Yes |
Thanks a lot everybody :) |
Why this issue occurs? Any ways to reproduce this issue? |
Hi,
thanks for the very cool work and effort you are putting into podman. I have identified some very weird behavior, when using podman in combination with dnsname plugin.
It seems like there is a huge performance impact (x ~150 slower response), when using podman dnsname, instead of IPs or dns servers.
Step by Step
As you can see, steps 1 - 4 seem ok, but step 5 shows a real time x150+ slower than the other examples. This is reproducible with all kinds of traffic, as soon as dnsname name resolving is involved. Adding this up in a construct like Nextcloud, you will see huge impacts.
Additonal information
It would be awesome to get some insights here. Maybe I am doing it wrong? Are there additional parameters needed?
Please also feel free to reach out to me for any additonal information.
The text was updated successfully, but these errors were encountered: