Author Topic: Flickr: Hostname not know  (Read 5958 times)

Offline pchampoux

  • Newcomer
  • *
  • Posts: 6
    • View Profile
Flickr: Hostname not know
« on: January 23, 2010, 11:45:14 AM »
Mac user
OS X 10.5.8
Macbook pro

When trying to upload from Photomechanic on my laptop to Flickr. I sometimes get this message.

Here's a video of what it does:

http://screencast.com/t/MzdkZWYzMD

Thanks...

sidewinder

  • Guest
Re: Flickr: Hostname not know
« Reply #1 on: January 23, 2010, 11:55:55 AM »
If you can, I would try using "flickr.com" for the hostname instead since "www.flickr.com" is a CNAME for "www.flickr.vip.mud.yahoo.com" which points to "68.142.214.24". The name "flickr.com" points directly to "68.142.214.24".

Also, it would be interesting to note what happens when you open Terminal on your Mac and type:

dig www.flickr.com

I would also recommend clearingthe DNS cache on your system. If you are running Leopard or above, the command to issue in Terminal is:

dscacheutil -flushcache

Scott

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Flickr: Hostname not know
« Reply #2 on: January 23, 2010, 01:46:15 PM »
Mac user
OS X 10.5.8
Macbook pro

When trying to upload from Photomechanic on my laptop to Flickr. I sometimes get this message.

Here's a video of what it does:

http://screencast.com/t/MzdkZWYzMD

Can you access www.flickr.com from other applications during the time that this happens?

-Kirk

Offline pchampoux

  • Newcomer
  • *
  • Posts: 6
    • View Profile
Re: Flickr: Hostname not know
« Reply #3 on: January 23, 2010, 02:17:37 PM »
Yes Kirk, I can browse through Flickr in Firefox and Safari with no problem when this happens.

Offline pchampoux

  • Newcomer
  • *
  • Posts: 6
    • View Profile
Re: Flickr: Hostname not know
« Reply #4 on: January 23, 2010, 02:25:02 PM »
Scott,

This is Terminal when asked dig www.flickr.com

; <<>> DiG 9.4.3-P3 <<>> www.flickr.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 30523
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;www.flickr.com.         IN   A

;; Query time: 98 msec
;; SERVER: 24.234.0.5#53(24.234.0.5)
;; WHEN: Sat Jan 23 17:13:58 2010
;; MSG SIZE  rcvd: 32

I cleared the cache, no difference. Should I reboot after having cleared the cache?

How is PM letting me control which url it's searching? Do I have access to the settings to let me choose flickr.com?

Cheers !

sidewinder

  • Guest
Re: Flickr: Hostname not know
« Reply #5 on: January 23, 2010, 03:03:47 PM »
You should get  this:

; <<>> DiG 9.6.0-APPLE-P2 <<>> www.flickr.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4318
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.flickr.com.         IN   A

;; ANSWER SECTION:
www.flickr.com.      55   IN   CNAME   www.flickr.vip.mud.yahoo.com.
www.flickr.vip.mud.yahoo.com. 551 IN   A   68.142.214.24

;; Query time: 54 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sat Jan 23 14:50:43 2010
;; MSG SIZE  rcvd: 87


Show us what happens when you type:

dig flickr.com

Here is the problem (from your "dig" output):

;; WARNING: recursion requested but not available

This means that the DNS server you used was given "www.flickr.vip.mud.yahoo.com" as the name but would not look it up. Who's DNS servers are you using?

I don't see a way to make a change in what PM uses for Flickr uploads.

It wouldn't hurt to reboot but I don't think it will matter.

Scott

sidewinder

  • Guest
Re: Flickr: Hostname not know
« Reply #6 on: January 23, 2010, 03:21:21 PM »
You could add this line to your  "/private/etc/hosts" file:

68.142.214.24   www.flickr.com

Use this Terminal command:

sudo nano /private/etc/hosts

An put that line on its own line at the end. Note that there is a tab between the IP address and the hostname.

Then issue:

dscacheutil -flushcache

That should do it.

Scott

Offline pchampoux

  • Newcomer
  • *
  • Posts: 6
    • View Profile
Re: Flickr: Hostname not know
« Reply #7 on: January 25, 2010, 07:52:46 AM »
Scott.

I asked the IT guy at work to perform the tasks you asked since I'm not really familiar with Terminal. He fot it working and I am able to upload to Flickr but just so you know, here is his report.

Using dig failed yet ping and nslookup and all the other ones work.

I also had to add api.flickr.com in the host file (68.142.214.24) since the program failed without that addition.

sidewinder

  • Guest
Re: Flickr: Hostname not know
« Reply #8 on: January 25, 2010, 08:17:27 AM »
That's interesting. Keep in mind that the folks at Flickr could change that IP address at any time. So, if all of a sudden it stops working again, you will need to have you IT guy check to see if the IP addresses for those names have changed.

Scott
« Last Edit: January 25, 2010, 10:50:10 AM by sidewinder »

Offline Graham Morgan

  • Newcomer
  • *
  • Posts: 46
    • View Profile
Re: Flickr: Hostname not know
« Reply #9 on: March 03, 2010, 04:39:34 PM »
Mac user
OS X 10.5.8
Macbook pro

When trying to upload from Photomechanic on my laptop to Flickr. I sometimes get this message.

Here's a video of what it does:

http://screencast.com/t/MzdkZWYzMD

Thanks...




Hi Kirk

I am getting the 'Hostname not known' thing all the time with Flickr uploads, can you please advise.

Thanks

Graham