DNSServer Property

The address of the DNS Server.

Object Oriented Interface

public function getDNSServer();

Procedural Interface

ipworks_ipinfo_get($res, 28 );

Default Value

''

Remarks

The class attempts to find the default DNS server for the machine where it is installed, and provide it in this property.

If the class cannot determine the default DNS server address, this property value will be an empty string.

NOTE: This functionality is only available in Windows.

This property is read-only.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]