summaryrefslogtreecommitdiff
path: root/doc/s6-dnsqualify.html
blob: 1862fb8d6d1c022f965cd4701c880ce5b0de3bad (plain)
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
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Language" content="en" />
    <title>s6-dns: the s6-dnsqualify program</title>
    <meta name="Description" content="s6-dns: the s6-dnsqualify program" />
    <meta name="Keywords" content="s6-dns s6-dnsqualify domain name qualification fqdn resolv.conf" />
    <!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> -->
  </head>
<body>

<p>
<a href="index.html">s6-dns</a><br />
<a href="//skarnet.org/software/">Software</a><br />
<a href="//skarnet.org/">skarnet.org</a>
</p>

<h1> The s6-dnsqualify program </h1>

<p>
  s6-dnsqualify qualifies a domain name.
</p>

<h2> Interface </h2>

<pre>
     s6-dnsqualify <em>domain</em>
</pre>

<ul>
 <li> s6-dnsqualify qualifies <em>domain</em> according to the "domain" and
"search" rules in <tt>/etc/resolv.conf</tt>. It prints the result on
stdout, one FQDN per line. </li>
 <li> If the DNSQUALIFY
environment variable is set and contains a list of suffixes separated by spaces,
tabs, newlines or carriage returns, then this list is used instead of the
<tt>/etc/resolv.conf</tt> rules. </li>
</ul>

</body>
</html>