Middleware that translates an unknown domain in the host header to something that ends with the configured storage_domain by looking up the given domain's CNAME record in DNS.
Configuration option=Default value | Description |
use=egg:swift#cname_lookup | Entry point of paste.deploy in the server |
set log_name=cname_lookup | Label to use when logging |
set log_facility=LOG_LOCAL0 | Syslog log facility |
set log_level=INFO | Log level |
set log_headers=false | If True, log headers in each request |
set log_address=/dev/log | No help text available for this option |
storage_domain=example.com | Domain to use for remap |
lookup_depth=1 | As CNAMES can be recursive, how many levels to search through |