host name was not found in DNS cache

asked 2015-05-29 07:59:53 -0500

Shree Niraula gravatar image

updated 2015-05-30 12:01:06 -0500

uts9 gravatar image

i m installing swift when i used following command

root@ubuntu:~# curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing'
 Hostname was NOT found in DNS cache
 Connected to ( port 8080 (#0)
 GET /auth/v1.0 HTTP/1.1
 User-Agent: curl/7.35.0
 Accept: */*
 X-Storage-User: test:tester
 X-Storage-Pass: testing

 HTTP/1.1 200 OK
 X-Auth-Token: AUTH_tk7462b3ab457e48a78ed6f8682ba7a7d6
 Content-Type: text/html; charset=UTF-8
 X-Storage-Token: AUTH_tk7462b3ab457e48a78ed6f8682ba7a7d6
 Content-Length: 0
 X-Trans-Id: txc6a10e343d08408884bcb-005568610c

how to add host name in dns cache for openstack object storage swift ??

edit retag flag offensive close merge delete


Make sure that your hostname is pointing to case your running the command in the same server). localhost ubuntu
uts9 gravatar imageuts9 ( 2015-05-30 12:10:36 -0500 )edit

i had already added this line on /etc/hosts

Shree Niraula gravatar imageShree Niraula ( 2015-05-30 23:46:28 -0500 )edit