HostDB and DNS project
what is the situation?
- DNS and HostDB module have some small problmes:
- TS-313: DNS and resolvers improvements --FIXED
- TS-435: SplitDNS doesn't work --FIXING
- TS-?: need a api to set hostdb map data directly
- TS-492: Allow use of client supplied IP address for origin server. --PATCH on wccp branch
- DNS and HostDB require for enhancement:
- SplitDNS need to get cleanup, we need to keep SplitDNS under DNS only, not mess up with hostdb.
- DNS codes a little mess, should get more localization, regarding for the old libresolv like codes
- way to passthrough HostDB cache
- easy way to setup Origin Source server IP, maybe something like Hosts.
- need to get a way for DNS and(or) HostDB pluginable, can hooking somewhere.
- need prepare for health check design, get HostDB ready.
what is our target:
HostDB is currently a fundamental under proxy/http2, it is really need to get clean and clear, we want to keep it clean in logical.
we will treat DNS module a little complex, it may have many Handler under one or more Processor:
- default DNS resolver Handler
- SplitDNS resolver Handler
- hosts resolver Handler
- and any other in require.
when we get a clean start, we can forward to make a healthy check for Origin Source servers, maybe based in HostDB structure, that is another project then.
what are we planning:
- Fix SplitDNS: TS-435. in_progress
- cleanup SplitDNS: keep SplitDNS under DNS only, not mess up with codes in proxy/http2.
- make dns more flex:
- way to passthrough HostDB cache
- easy way to setup Origin Source server IP, maybe something like Hosts.
- need to get a way for DNS and(or) HostDB pluginable, can hooking somewhere.
- cleanup old codes.
request for review