NameServer Property  
 

Gets and sets the IP addresses of the nameservers assigned to the current phonebook entry.

Syntax

[form].object.NameServer( Index ) [= ipaddress ]

Remarks

The NameServer property array is used to set or return the nameserver IP addresses assigned to the current phonebook entry. The index value may range from 0 to 3:

Index Description
Primary DNS nameserver IP address
Alternate DNS nameserver IP address
Primary WINS nameserver IP address
Alternate WINS nameserver IP address

Setting the property array to an IP address changes the corresponding address assigned to the phonebook entry. Note that assigned nameserver addresses are only used if the DynamicNameServers property has been set to False. If dynamic nameservers are assigned to the session, this property array will not return those addresses, it will return empty strings.

Data Type

String

See Also

DynamicNameServers Property