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
0 Primary DNS nameserver IP address
1 Alternate DNS nameserver IP address
2 Primary WINS nameserver IP address
3 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