[Home](./index.md) > [bitburner](./bitburner.md) > [HostReturnOptions](./bitburner.hostreturnoptions.md) ## HostReturnOptions interface Options to control how a server identifier (hostname or IP address) is returned. Affects the behavior of [scan](./bitburner.ns.scan.md), [getServerNames](./bitburner.cloud.getservernames.md), and [getCurrentServer](./bitburner.singularity.getcurrentserver.md) **Signature:** ```typescript interface HostReturnOptions ``` ## Properties
Property Modifiers Type Description
[returnByIP?](./bitburner.hostreturnoptions.returnbyip.md) boolean _(Optional)_ If set to `true`, returns IP addresses instead of hostnames. Defaults to `false`.