Updated:
I want to use Google DNS for my localhost server. Is that possible? The main reason for this is I keep getting the following errors for the functions like file()
, fopen()
etc.
Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/crawler/classes/internal/crawler.php on line 22
It's related to DNS I think. So thought it might be possible to use the Google DNS to resolve this.