Openoffice DNS Delay


I was working with Openoffice and I seemed to be missing some fonts I wanted. So this short blog will maybe help you.

I was trying to install msttcorefonts and I kept getting the following type of errors.

Resolving… failed: Connection timed out.
=> `./arialb32.exe’

After much searching I finally found the script that was failing. The script is at /usr/sbin/update-ms-fonts

The problem that I have is that my DNS always seems to take forever. So increased the DNS timeout for the wget function call on line 131 to 30 seconds.

I hope this helps someone out!