nslookup <setting> <hostname>
nslookup address ipxe.org
echo ${address}
nslookup net0/next-server boot.ipxe.org
Set value of the specified configuration setting to the network address corresponding to the specified host name.
| Success | The name was resolved successfully, and the setting was applied |
|---|---|
| Failure | The name was not resolved successfully, or the setting could not be applied |
This command is available only when the build option NSLOOKUP_CMD is enabled.
You should not generally need to use the nslookup command, since you can simply include a host name as part of a URI. For example:
chain http://boot.ipxe.org/demo/boot.php