Re: resolver does not work

2023-04-19 Thread basti
Hello Maxim, I have found. nginx query ipv4 and ipv6 as expected. systemd-resolved return servfail when there is no ipv6. I think it should return nodata. When I set ipv6=off in nginx all is fine. Best Regards, On 19.04.23 02:51, Maxim Dounin wrote: Hello! On Tue, Apr 18, 2023 at 10:25:09

Re: resolver does not work

2023-04-18 Thread Maxim Dounin
Hello! On Tue, Apr 18, 2023 at 10:25:09PM +0200, basti wrote: > Hello Maxim, > > that does not work for me. > > root@tower:~# resolvectl query icinga2 > icinga2: 192.168.145.217 -- link: ve-icinga2 > > -- Information acquired via protocol LLMNR/IPv4 in 105.7ms. > -- Data

Re: resolver does not work

2023-04-18 Thread basti
Hello Maxim, that does not work for me. root@tower:~# resolvectl query icinga2 icinga2: 192.168.145.217 -- link: ve-icinga2 -- Information acquired via protocol LLMNR/IPv4 in 105.7ms. -- Data is authenticated: no root@tower:~# getent hosts icinga2 192.168.145.217 icinga2

Re: resolver does not work

2023-04-18 Thread J Carter
Hi, On 18/04/2023 13:58, mailingl...@unix-solution.de wrote: Hello, I have a nginx proxy in front of systemd-nspawn containers. The IP's of the containers are dynamic. When I start nginx *after* the  containers it works. When the IP of the container is changed while nginx is running i get a "B

Re: resolver does not work

2023-04-18 Thread Maxim Dounin
Hello! On Tue, Apr 18, 2023 at 02:58:08PM +0200, mailingl...@unix-solution.de wrote: > Hello, > I have a nginx proxy in front of systemd-nspawn containers. > The IP's of the containers are dynamic. > > When I start nginx *after* the  containers it works. > When the IP of the container is changed

Re: resolver does not work

2023-04-18 Thread basti
Sorry, my mistake. 1.18.0 debian11 is installed. Am 18.04.23 um 19:21 schrieb A. Schulze via nginx: Am 18.04.23 um 14:58 schrieb mailingl...@unix-solution.de: nginx is 1.1.18 Whats wrong there? released in March 2012 couldn't you use a "not so historic" version? Andreas ___

Re: resolver does not work

2023-04-18 Thread A. Schulze via nginx
Am 18.04.23 um 14:58 schrieb mailingl...@unix-solution.de: nginx is 1.1.18 Whats wrong there? released in March 2012 couldn't you use a "not so historic" version? Andreas ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/list

resolver does not work

2023-04-18 Thread mailinglist
Hello, I have a nginx proxy in front of systemd-nspawn containers. The IP's of the containers are dynamic. When I start nginx *after* the  containers it works. When the IP of the container is changed while nginx is running i get a "Bad Gateway" error. The config looks like: server {     serve