Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Swift: how to use CNAME_lookup middleware ?

Has anyone ever used the CNAME_lookup middleware for swift ? I have some trouble figuring out some use cases for it, as well as testing it.

So far I have deployed swift through devstack on a VM, installed and configured bind on the same VM for the domain swift.test. I am testing GETs with curl :

curl -v -H 'X-Auth-Token: XXXX' -H 'Host: demo.swift.test:8080' http://127.0.0.1:8080/v1/AUTH_YYYYYY

If CNAME_lookup is not in the middleware pipeline, the request returns a 200 OK reply. If CNAME_lookup isn't, the reply depends on whether my host is in my DNS configuration or not.

Anything I am missing here ?

Swift: how to use CNAME_lookup middleware ?

Has anyone ever used the CNAME_lookup middleware for swift ? I have some trouble figuring out some use cases for it, as well as testing it.

So far I have deployed swift through devstack on a VM, installed and configured bind on the same VM for the domain swift.test. I am testing GETs with curl :

curl -v -H 'X-Auth-Token: XXXX' -H 'Host: demo.swift.test:8080' http://127.0.0.1:8080/v1/AUTH_YYYYYY

If CNAME_lookup is not in the middleware pipeline, the request returns a 200 OK reply. If CNAME_lookup isn't, the reply depends on whether my host is in my DNS configuration or not.

Anything I am missing here ?