From a Linux box, I can run;
# curl ifconfig
which typically returns my public IP.
However, now and then, there is an error;
curl: (6) Couldn't resolve host 'ifconfig'
I know the DNS server is up and running so why does this work and why does it not work at times?