summary refs log tree commit diff
path: root/docs/api/html/settings-hostname.html
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2023-08-09 21:55:35 +0200
committerMichael Biebl <biebl@debian.org>2023-08-09 21:55:35 +0200
commit05e4a733f2141995181a551854d5df929f084adf (patch)
tree83bb937740a6667525ba0df046748ecaa829c269 /docs/api/html/settings-hostname.html
parent14b0f3a9dc9ea90d60a3b057350fd4d637dc021a (diff)
New upstream version 1.44.0 upstream/1.44.0
Diffstat (limited to 'docs/api/html/settings-hostname.html')
-rw-r--r--docs/api/html/settings-hostname.html26
1 files changed, 19 insertions, 7 deletions
diff --git a/docs/api/html/settings-hostname.html b/docs/api/html/settings-hostname.html
index d12fcfba..4f6fe458 100644
--- a/docs/api/html/settings-hostname.html
+++ b/docs/api/html/settings-hostname.html
@@ -7,7 +7,7 @@
 <link rel="home" href="index.html" title="NetworkManager Reference Manual">
 <link rel="up" href="ch01.html" title="Configuration Settings">
 <link rel="prev" href="settings-bond-port.html" title="bond-port">
-<link rel="next" href="settings-loopback.html" title="loopback">
+<link rel="next" href="settings-link.html" title="link">
 <meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
 <link rel="stylesheet" href="style.css" type="text/css">
 </head>
@@ -22,7 +22,7 @@
 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
 <td><a accesskey="p" href="settings-bond-port.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
-<td><a accesskey="n" href="settings-loopback.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+<td><a accesskey="n" href="settings-link.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
 </tr></table>
 <div class="refentry">
 <a name="settings-hostname"></a><div class="titlepage"></div>
@@ -38,7 +38,7 @@
             Properties
         </h2>
 <div class="table">
-<a name="id-1.3.3.51.2.2.1"></a><p class="title"><b>Table 97. </b></p>
+<a name="id-1.3.3.51.2.2.1"></a><p class="title"><b>Table 85. </b></p>
 <div class="table-contents"><table class="table" border="1">
 <colgroup>
 <col>
@@ -57,25 +57,37 @@
 <td><pre class="screen">from-dhcp</pre></td>
 <td><pre class="screen">NMTernary (int32)</pre></td>
 <td><pre class="screen"></pre></td>
-<td> </td>
+<td>Whether the system hostname can be determined from DHCP on this connection.
+
+When set to NM_TERNARY_DEFAULT (-1), the value from global configuration is used. If the property doesn't have a value in the global configuration, NetworkManager assumes the value to be NM_TERNARY_TRUE (1).</td>
 </tr>
 <tr>
 <td><pre class="screen">from-dns-lookup</pre></td>
 <td><pre class="screen">NMTernary (int32)</pre></td>
 <td><pre class="screen"></pre></td>
-<td> </td>
+<td>Whether the system hostname can be determined from reverse DNS lookup of addresses on this device.
+
+When set to NM_TERNARY_DEFAULT (-1), the value from global configuration is used. If the property doesn't have a value in the global configuration, NetworkManager assumes the value to be NM_TERNARY_TRUE (1).</td>
 </tr>
 <tr>
 <td><pre class="screen">only-from-default</pre></td>
 <td><pre class="screen">NMTernary (int32)</pre></td>
 <td><pre class="screen"></pre></td>
-<td> </td>
+<td>If set to NM_TERNARY_TRUE (1), NetworkManager attempts to get the hostname via DHCPv4/DHCPv6 or reverse DNS lookup on this device only when the device has the default route for the given address family (IPv4/IPv6).
+
+If set to NM_TERNARY_FALSE (0), the hostname can be set from this device even if it doesn't have the default route.
+
+When set to NM_TERNARY_DEFAULT (-1), the value from global configuration is used. If the property doesn't have a value in the global configuration, NetworkManager assumes the value to be NM_TERNARY_FALSE (0).</td>
 </tr>
 <tr>
 <td><pre class="screen">priority</pre></td>
 <td><pre class="screen">int32</pre></td>
 <td><pre class="screen">0</pre></td>
-<td> </td>
+<td>The relative priority of this connection to determine the system hostname. A lower numerical value is better (higher priority).  A connection with higher priority is considered before connections with lower priority.
+
+If the value is zero, it can be overridden by a global value from NetworkManager configuration. If the property doesn't have a value in the global configuration, the value is assumed to be 100.
+
+Negative values have the special effect of excluding other connections with a greater numerical priority value; so in presence of at least one negative priority, only connections with the lowest priority value will be used to determine the hostname.</td>
 </tr>
 </tbody>
 </table></div>