Jump to: navigation, search

Difference between revisions of "Swift/ideas/txt lookup middleware"

< Swift‎ | ideas
(txt lookup middleware)
(TXT lookup middleware)
Line 1: Line 1:
  
 +
'''TXT lookup middleware'''
  
 
Why ? to be able to remap without using the CNAME record
 
Why ? to be able to remap without using the CNAME record
Line 14: Line 15:
 
proposed implementations :  
 
proposed implementations :  
  
- create a dedicated middleware : txt_lookup.py ?
+
create a dedicated middleware : txt_lookup.py ? rename cname_lookup to dns_lookup and add the txt lookup ?
- change cname_lookup to dns_lookup and add the txt lookup ?
 
  
 
contact #openstack-swift : jcaron
 
contact #openstack-swift : jcaron

Revision as of 13:39, 23 January 2017

TXT lookup middleware

Why ? to be able to remap without using the CNAME record

How ?

  • Proposed dns entry :

('_swift-remap.' + subdomain) IN TXT "account={ACCOUNT_NAME} container={CONTAINER_NAME}"

-> https://tools.ietf.org/html/rfc1464


proposed implementations :

create a dedicated middleware : txt_lookup.py ?  rename cname_lookup to dns_lookup and add the txt lookup ?

contact #openstack-swift : jcaron