don't resolve hostname if scan_intf is not set (can be the wrong interface)