Add “.in-addr.arpa.” to the end of any IP address when doing dig or nslookup to get the reverse DNS record (if it’s listed.)

Flushing DNS

On windows XP:

ipconfig /flushdns

On Unix: (needs root access)

/etc/rc.d/init.d/nscd restart

Checking named zone file:

/usr/sbin/named-checkzone (zone name) (zone filename)

ImageMagick commands:

  • The following command will take TIF files from the ./orig/ directory and resize them to 25% their original size, convert them to png format and save them in the ./resized/ directory.  The [0] at the end of .TIF ensures that only the first image inside the TIF file is used.
  • mogrify -path ./resized -resize 25% -format png ./*.TIF[0]