This is a sample program showing how to do DNS lookups in code.