From 1cb8543e85476db7e01f9a30cedc509d26b78b9b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 6 Apr 2011 19:26:25 +0400 Subject: * Add ability to specify dns nameservers in a config * Add ability to select between round-robin and master-slave algorithms for dns servers --- src/dns.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/dns.h') diff --git a/src/dns.h b/src/dns.h index 67cb50e9f..794714380 100644 --- a/src/dns.h +++ b/src/dns.h @@ -52,6 +52,7 @@ struct rspamd_dns_resolver { guint max_errors; memory_pool_t *static_pool; /**< permament pool (cfg_pool) */ gboolean throttling; /**< dns servers are busy */ + gboolean is_master_slave; /**< if this is true, then select upstreams as master/slave */ guint errors; /**< resolver errors */ struct timeval throttling_time; /**< throttling time */ struct event throttling_event; /**< throttling event */ -- cgit v1.2.3