Can’t connect ST server fsock error
Posted by MMagery on Saturday Apr 17, 2010 Under Adult Hosting, SmartThumbs, SoftwareI just came along one forum post which is about error one webmaster got recently with his SmartThumbs script:
ST update: Can’t connect ST server (fsock error: 0 php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known (Cannot resolve domain name. Domain does not exist or DNS error.))
There is really nothing wrong with ST itself. This is typical error which PHP outputs when local DNS resolver does not work properly. Most likely every script that needs to connect to another domain from your server won’t work and will output similar error. Solution is simple - either send ticket to your adult hosting provider or login with SSH, and edit file /etc/resolv.conf (on most Linux distros) and enter level3 public DNS resolver IPs there - 4.2.2.1 and 4.2.2.3 - save file and refresh ST!

