Backport r18063: make ServerDNSRandomizeCase work. Fix bug 905.
svn:r18066
This commit is contained in:
parent
e600b87e75
commit
b274ea202e
|
@ -199,9 +199,9 @@ dns_init(void)
|
|||
init_cache_map();
|
||||
evdns_set_transaction_id_fn(dns_get_transaction_id);
|
||||
if (get_options()->ServerDNSRandomizeCase)
|
||||
evdns_set_option("randomize-case", "1", DNS_OPTIONS_ALL);
|
||||
evdns_set_option("randomize-case:", "1", DNS_OPTIONS_ALL);
|
||||
else
|
||||
evdns_set_option("randomize-case", "0", DNS_OPTIONS_ALL);
|
||||
evdns_set_option("randomize-case:", "0", DNS_OPTIONS_ALL);
|
||||
if (server_mode(get_options()))
|
||||
return configure_nameservers(1);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue