var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
My server wont resolve domains...
This is a little urgent since I was just about to show of my work for a business partner, but my cron-jobs just wont work since my server wont resolve other domains 4 times out of 5.
I have a cronjob which is supposed to download a few images from different places, but here's the result:
My resolv.conf contains one single line:
Resolving image.weather.com... failed: Host not found.
failed: Host not found.
Resolving news.google.com... failed: Host not found.
Ask your DC what their name servers are then add them like:
nameserver nameserver1(as IP)
nameserver nameserver2(as IP)
If you are still having issues, then use an IP address from another datacenters name servers
- Affordable, Reliable, Professional
• 24/7 Support • Web Hosting • Reseller Hosting • Cloud/VPS Plans • Dedicated Servers •
This particular server is hosted by managed.com, but they might have a few different nameserver ip's huh?
I mailed them a few hours ago but haven't received any response.
Anyone else with managed?
Should I restart the server after making the change?
Is there any risk that something goes crazy? It's a production server so it can't be offline for a few hours.
Thanks a lot!!
Try using these:
No restart necessary.
I am using them at home ever since the Comcast DNS fiasco and they are resolving quite fast. However you should switch to your DC provided name servers when you got a chance.
For a presentation you should be fine.
thanks a lot, i'll give it a try!