From Kromonos, 1 Year ago, written in Plain Text.
Embed
  1. stream {
  2.     upstream backends_dns {
  3.         zone dynamic 64k;
  4.         server 192.168.2.190:53 weight=3 max_fails=2 fail_timeout=30;
  5.         server 192.168.8.3:53   weight=1 max_fails=2 fail_timeout=30;
  6.     }
  7.  
  8.     server {
  9.         listen 53;
  10.         listen 53 udp;
  11.         proxy_pass backends_dns;
  12.     }
  13. }
  14.