Describe the problem/error/question
Every second attempt to test credentials for my gitlab-node failed inside my n8n-docker-container.
This is a DNS-issue, because a ping inside the docker-container also resolves to different IP-adresses.
ping gitlab.local
PING gitlab.local (192.168.1.166)
ping gitlab.local
PING gitlab.local (192.168.1.23)
ping gitlab.local
PING gitlab.local (192.168.1.166)
...
…you get the idea.
BUT inside my DNS-server there is right now only one domain IP-Adress-Record
And all my other docker-containers / computers get only the right IP (192.168.1.166) for gitlab.
And n8n gets still the old AND the new IP-adress….even, if i restart the hole system.
Most solutions how to solve this issue from the internet are not working inside the docker-container, because the tools are not available in unmodified n8n-container.
Does anyone here know a working solution for me?
Thanks!