[
https://issues.apache.org/jira/browse/TS-3750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14620482#comment-14620482
]
Adam W. Dace commented on TS-3750:
----------------------------------
Here's my current configuration regarding HostDB(this from records.config):
CONFIG proxy.config.hostdb.ip_resolve STRING ipv6;ipv4
CONFIG proxy.config.hostdb.size INT 49152
CONFIG proxy.config.hostdb.storage_size INT 12582912
CONFIG proxy.config.hostdb.ttl_mode INT 1
CONFIG proxy.config.hostdb.timeout INT 60
CONFIG proxy.config.hostdb.serve_stale_for INT 60
CONFIG proxy.config.cache.hostdb.sync_frequency INT 3600
CONFIG proxy.config.cache.hostdb.disable_reverse_lookup INT 1
> HostDB: Setting DNS TTL to "ignore" still creates many DNS lookups
> -------------------------------------------------------------------
>
> Key: TS-3750
> URL: https://issues.apache.org/jira/browse/TS-3750
> Project: Traffic Server
> Issue Type: Bug
> Components: DNS, HostDB
> Affects Versions: 6.0.0
> Reporter: Adam W. Dace
> Priority: Minor
>
> In an effort to further speed my forward-only proxy cache, I've been
> experimenting with using a 1-4 hour internal TTL in HostDB(as opposed to the
> default). Many websites set their DNS TTL extremely low(i.e. 60 seconds),
> and I'd like to bypass that behavior.
> Unfortunately, according to OpenDNS my proxy is still generating roughly 1
> DNS lookup per HTTP request. I don't know why.
> I've taken a look at the codebase, but frankly it's all state machines in
> there and I don't possess the skills to identify and fix this problem. I
> have turned on debugging and can say there does appear to be a lot of DNS
> activity going on.
> If someone could take a look, I'd greatly appreciate it. I'll be happy to
> help test, also. Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)