I get quite an annoying failure with fetchmail and irssi (possibly other networking apps but these two are the ones where it is the most obvious).
When I call fetchmail, I get the following error:
$ fetchmail -v
fetchmail: 6.3.21 querying pop.mail.yahoo.fr (protocol POP3) at Fri 10 Aug 2012 10:58:55 PM CEST: poll started
fetchmail: couldn't find canonical DNS name of pop.mail.yahoo.fr (pop.mail.yahoo.fr): Name or service not known
fetchmail: 6.3.21 querying pop.mail.yahoo.fr (protocol POP3) at Fri 10 Aug 2012 10:58:56 PM CEST: poll completed
fetchmail: Query status=11 (DNS)
fetchmail: normal termination, status 11
And when I run exactly the same command immediately later, or just a minute later (I don't know the exact time limit), it works just fine.
I tried many times, it's always the same. I must run it once, let it fail, and run it again. That's weird.
Any idea about what is going wrong?