全部博文(22)
分类: LINUX
2010-11-22 20:10:41
CONFIG proxy.config.dns.splitDNS.enabled INT 0 |
struct DNSHandler: public Continuation |
if (dns_ns_rr) {//使用roundrobin |
SET_HANDLER(&DNSHandler::mainEvent); dnsProcessor.thread->schedule_every(this, DNS_PERIOD); |
recv_dns(event, e); |
inline Action * |
DNSEntry *e = dnsEntryAllocator.alloc(); |
SET_HANDLER((DNSEntryHandler) & DNSEntry::mainEvent); |
dnsH->entries.enqueue(this); |
IOCORE_ReadConfigInt32(gsplit_dns_enabled, "proxy.config.dns.splitDNS.enabled"); |
params->m_DNSSrvrTable = NEW(new DNS_table("proxy.config.dns.splitdns.filename", modulePrefix, &sdns_dest_tags)); |
typedef ControlMatcher<SplitDNSRecord, SplitDNSResult> DNS_table; |
Data *cur_d; |
DNSServer m_servers; |
struct DNSServer |
SplitDNSConfig::startup(); |
|