in reply to hostname to IP
Also note that the DATA section contained machine names, while your input file contains IP addresses, which is the expeted output.