Welcome! Log In Create A New Profile

Advanced

How did nginx resolve names?

basti
March 05, 2021 09:10AM
Hello,

first of all, I'm not sure if it is a php or nginx problem.

Today I had the problem, that nginx run into "504 Gateway Time-out" when
the first nameserver in /etc/resolv.conf did not answer.

The php application is query some names (db-server for example).

Did nginx use nsswitch?
Did someone know how php resolve the names?

If the first dns server answer nxdomain it's OK.
But if the first one did *not* answer / get timeout it should ask the
second one.

Best Regards,
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How did nginx resolve names?

basti March 05, 2021 09:10AM

Re: How did nginx resolve names?

Francis Daly March 07, 2021 06:26AM

Re: How did nginx resolve names?

andromeda123 March 09, 2021 08:05PM

Re: How did nginx resolve names?

Francis Daly March 10, 2021 09:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready