February 19, 2020 08:25PM
Hi Maxim,

Thanks for responding. I agree with your recommendation. I guess a direct upgrade from 1.12 to 1.16 (free community version) is possible and shouldn't break it.

I'm preferring 1.61 since it's the latest stable version. Beside the upgrade, do you recommend any performance tuning should be done?

Thanks


FYI - This is the error I see in the "dns.log" occurring frequently.

2020/02/19 16:47:28 [error] 19509#0: *4852298929 no live upstreams while connecting to upstream, udp client: x.x.x.x, server: 0.0.0.0:53, upstream: "dns_servers", bytes from/to client:50/0, bytes from/to upstream:0/0

This is the nginx.conf ---


worker_processes auto;
error_log /var/log/nginx/error.log;

include /usr/share/nginx/modules/*.conf;

events {
}

stream {
upstream dns_servers {
server x.x.x.x:53 fail_timeout=60s;
server x.x.x.x:53 fail_timeout=60s;
server x.x.x.x:53 fail_timeout=60s;
}
server {
listen 53 udp;
listen 53; #tcp
proxy_pass dns_servers;
error_log /var/log/nginx/dns.log info;
proxy_responses 1;
proxy_timeout 5s;
}
}

http {
index index.html;
server {
listen 80 default_server;
server_name _;
access_log /var/log/nginx/access.log;
server_name_in_redirect off;
root /var/www/default/htdocs;
allow x.x.x.x;
deny all;
location /nginx_status {
stub_status on;
access_log off;
}
}
}
Subject Author Posted

DNS load balancing issue

Satay Epic February 19, 2020 01:12AM

Re: DNS load balancing issue

Maxim Konovalov February 19, 2020 02:56AM

Re: DNS load balancing issue

satay February 19, 2020 08:25PM

Re: DNS load balancing issue

satay April 18, 2021 07:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 278
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready