Home of htoip: Hostname to IP Address, a small program to process text files, replacing hostnames with the
appropriate IP addresses
It was designed to convert Firefox bookmarks from using hostnames in the location to using IP addresses. It's accuracy is not
100%, but it may be useful to backup your bookmarks this way in case DNS resolution failures become more common.
Htoip runs at a command prompt. First, export your Firefox bookmarks
(Bookmarks>Organize Bookmarks>Import and Backup>Export HTML), then run
# /path/to/htoip < oldbookmarks > newbookmarks
It's recommended to preserve both the old and new bookmarks.