finagle-core: make timer-based DNS resolution as default of InetResolver
make timer-based DNS resolution as default of InetResolver

Problem
InetResolver resolves host only once when the bind is invoked.
This makes Finagle caching the address for a host forever.
We want to change the default behavior to resolve DNS after each ttl timeouts.

Solution
get ttl from "networkaddress.cache.ttl". If it is not set, use a default value.
create an async Var and schedule a timer task to resolve DNS.

Result
After the change, the default behavior of InetResolver is changed to resolve DNS after each ttl timeouts.

Conflicts:
	finagle-core/src/main/scala/com/twitter/finagle/Resolver.scala
make timer-based DNS resolution as default of InetResolver

Problem
InetResolver resolves host only once when the bind is invoked.
This makes Finagle caching the address for a host forever.
We want to change the default behavior to resolve DNS after each ttl timeouts.

Solution
get ttl from "java.security.networkaddress.cache.ttl". If it is not set, turn off cache refresh.
create an async Var and schedule a timer task to resolve DNS.

Result
After the change, the default behavior of InetResolver is changed to resolve DNS after each ttl timeouts.
make timer-based DNS resolution as default of InetResolver

Problem
InetResolver resolves host only once when the bind is invoked.
This makes Finagle caching the address for a host forever.
We want to change the default behavior to resolve DNS after each ttl timeouts.

Solution
get ttl from "java.security.networkaddress.cache.ttl". If it is not set, turn off cache refresh.
create an async Var and schedule a timer task to resolve DNS.

Result
After the change, the default behavior of InetResolver is changed to resolve DNS after each ttl timeouts.
make timer-based DNS resolution as default of InetResolver

Problem
InetResolver resolves host only once when the bind is invoked.
This makes Finagle caching the address for a host forever.
We want to change the default behavior to resolve DNS after each ttl timeouts.

Solution
get ttl from "java.security.networkaddress.cache.ttl". If it is not set, turn off cache refresh.
create an async Var and schedule a timer task to resolve DNS.

Result
After the change, the default behavior of InetResolver is changed to resolve DNS after each ttl timeouts.
make timer-based DNS resolution as default of InetResolver

Problem
InetResolver resolves host only once when the bind is invoked.
This makes Finagle caching the address for a host forever.
We want to change the default behavior to resolve DNS after each ttl timeouts.

Solution
get ttl from "java.security.networkaddress.cache.ttl". If it is not set, turn off cache refresh.
create an async Var and schedule a timer task to resolve DNS.

Result
After the change, the default behavior of InetResolver is changed to resolve DNS after each ttl timeouts.
make timer-based DNS resolution as default of InetResolver

Problem
InetResolver resolves host only once when the bind is invoked.
This makes Finagle caching the address for a host forever.
We want to change the default behavior to resolve DNS after each ttl timeouts.

Solution
get ttl from "java.security.networkaddress.cache.ttl". If it is not set, turn off cache refresh.
create an async Var and schedule a timer task to resolve DNS.

Result
After the change, the default behavior of InetResolver is changed to resolve DNS after each ttl timeouts.
Sync tests for timer-based DNS resolution as default of InetResolver
Merge branch 'pr-282-dns-resolution-cherry-picked'
finagle-core/6.11.1-jdanbrown-0