This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 223
Expand file tree
/
Copy pathDNSServers.xml
More file actions
45 lines (45 loc) · 2.74 KB
/
Copy pathDNSServers.xml
File metadata and controls
45 lines (45 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<doc>
<legacy_id>1872</legacy_id>
<name>DNSServers</name>
<type>function</type>
<syntax>
<example>the DNSServers</example>
<example>DNSServers()</example>
</syntax>
<library></library>
<objects>
</objects>
<synonyms>
</synonyms>
<classification>
<category>Networks & Communication</category>
</classification>
<references>
<function tag="hostAddress">hostAddress Function</function>
<function tag="hostName">hostName Function</function>
<function tag="hostNameToAddress">hostNameToAddress Function</function>
<function tag="peerAddress">peerAddress Function</function>
</references>
<history>
<introduced version="2.0">Added.</introduced>
</history>
<platforms>
<mac/>
<windows/>
<linux/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
</classes>
<security>
</security>
<summary><glossary tag="return">Returns</glossary> a list of the <glossary tag="DNS">DNS</glossary> servers listed in the system's <glossary tag="TCP">TCP/IP</glossary> network configuration.</summary>
<examples>
<example>put the DNSServers into myDNSList</example>
</examples>
<description>
<p>Use the <b>DNSServers</b> <control_st tag="function">function</control_st> to find the <glossary tag="IP address">IP address</glossary> of the <glossary tag="server">servers</glossary> that will be used to translate <glossary tag="IP address">IP addresses</glossary> into <glossary tag="domain name">domain names</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>DNSServers</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a list of <glossary tag="IP address">IP addresses</glossary>, one per line.</p><p/><p><img src="202652"/> <b>Cross-platform note:</b> On <glossary tag="Mac OS">Mac OS systems</glossary>, the <b>DNSServers</b> <control_st tag="function">function</control_st> returns only the first <glossary tag="IP address">IP address</glossary>.</p><p/><p><b>Comments:</b></p><p>When an application requests contact with a system specified by its domain name, the domain name must first be translated into an IP address. A DNS server performs this translation function. In your system's TCP/IP configuration, one or more DNS servers are specified by their IP addresses, and these servers are queried when a domain name needs to be translated to an IP address. (Typically, one or more DNS servers will be configured for an ISP or corporate network; name service is usually centralized.)</p><p/><p>Since the <b>DNSServers</b> <control_st tag="function">function</control_st> reads the value set in the network configuration, it is available even if the system is not currently connected to the <keyword tag="internet">Internet</keyword>.</p>
</description>
</doc>