diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-04-06 19:26:25 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-04-06 19:26:25 +0400 |
commit | 1cb8543e85476db7e01f9a30cedc509d26b78b9b (patch) | |
tree | 2560d92a859b651089443dc71360a30811f61c2d /src/dns.h | |
parent | 87fd3373b9e8f0b3356ded2949e09b00b251599c (diff) | |
download | rspamd-1cb8543e85476db7e01f9a30cedc509d26b78b9b.tar.gz rspamd-1cb8543e85476db7e01f9a30cedc509d26b78b9b.zip |
* Add ability to specify dns nameservers in a config
* Add ability to select between round-robin and master-slave algorithms for dns servers
Diffstat (limited to 'src/dns.h')
-rw-r--r-- | src/dns.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |