beautypg.com

Yaskawa MotionWorks IEC Toolboxes User Manual

Page 184

background image

Communications Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

171

The basic command structure is "nslookup [hostname] [server]" where hostname and server are both optional
(if you simply type "nslookup" -> Enter it takes you in to the nslookup utility where you can then perform
multiple lookups without retyping "nslookup"). For example, typing "nslookup google.com" as in the image
above returns a list of IP addresses resolved for "google.com". You can also perform the lookup using a specified
DNS server address which can be helpful if your block is using a different DNS server than your computer is
configured to use. This is done by filling in the second optional parameter, such as "nslookup google.com
8.8.8.8" where "8.8.8.8" is a public DNS server managed by Google.