Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
600
Issues
600
List
Boards
Labels
Service Desk
Milestones
Merge Requests
110
Merge Requests
110
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
268a4475
Commit
268a4475
authored
May 11, 2005
by
Rob Austein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1856. [doc] Switch Docbook toolchain from DSSSL to XSL.
parent
29418246
Changes
48
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
48 changed files
with
18204 additions
and
12734 deletions
+18204
-12734
bin/check/named-checkconf.docbook
bin/check/named-checkconf.docbook
+60
-50
bin/check/named-checkzone.docbook
bin/check/named-checkzone.docbook
+107
-94
bin/dig/dig.docbook
bin/dig/dig.docbook
+852
-591
bin/dig/host.docbook
bin/dig/host.docbook
+234
-200
bin/dig/nslookup.docbook
bin/dig/nslookup.docbook
+431
-272
bin/dnssec/dnssec-keygen.docbook
bin/dnssec/dnssec-keygen.docbook
+181
-165
bin/dnssec/dnssec-signzone.docbook
bin/dnssec/dnssec-signzone.docbook
+220
-205
bin/named/lwresd.docbook
bin/named/lwresd.docbook
+157
-157
bin/named/named.conf.docbook
bin/named/named.conf.docbook
+98
-93
bin/named/named.docbook
bin/named/named.docbook
+195
-194
bin/nsupdate/nsupdate.docbook
bin/nsupdate/nsupdate.docbook
+644
-608
bin/rndc/rndc-confgen.docbook
bin/rndc/rndc-confgen.docbook
+150
-140
bin/rndc/rndc.conf.docbook
bin/rndc/rndc.conf.docbook
+143
-127
bin/rndc/rndc.docbook
bin/rndc/rndc.docbook
+124
-116
configure.in
configure.in
+73
-70
doc/arm/.cvsignore
doc/arm/.cvsignore
+7
-6
doc/arm/Bv9ARM-book.xml
doc/arm/Bv9ARM-book.xml
+10387
-6137
doc/arm/Makefile.in
doc/arm/Makefile.in
+26
-32
doc/arm/isc.color.gif
doc/arm/isc.color.gif
+0
-0
doc/arm/latex-fixup.pl
doc/arm/latex-fixup.pl
+45
-0
doc/arm/nominum-docbook-html.dsl.in
doc/arm/nominum-docbook-html.dsl.in
+0
-148
doc/arm/nominum-docbook-print.dsl.in
doc/arm/nominum-docbook-print.dsl.in
+0
-42
doc/arm/validate.sh.in
doc/arm/validate.sh.in
+0
-21
doc/xsl/.cvsignore
doc/xsl/.cvsignore
+4
-0
doc/xsl/copyright.xsl
doc/xsl/copyright.xsl
+71
-0
doc/xsl/isc-docbook-chunk.xsl.in
doc/xsl/isc-docbook-chunk.xsl.in
+63
-0
doc/xsl/isc-docbook-html.xsl.in
doc/xsl/isc-docbook-html.xsl.in
+56
-0
doc/xsl/isc-docbook-latex.xsl.in
doc/xsl/isc-docbook-latex.xsl.in
+82
-0
doc/xsl/isc-manpage.xsl.in
doc/xsl/isc-manpage.xsl.in
+131
-0
doc/xsl/pre-latex.xsl
doc/xsl/pre-latex.xsl
+55
-0
lib/lwres/man/lwres.docbook
lib/lwres/man/lwres.docbook
+244
-224
lib/lwres/man/lwres_buffer.docbook
lib/lwres/man/lwres_buffer.docbook
+283
-269
lib/lwres/man/lwres_config.docbook
lib/lwres/man/lwres_config.docbook
+131
-119
lib/lwres/man/lwres_context.docbook
lib/lwres/man/lwres_context.docbook
+206
-229
lib/lwres/man/lwres_gabn.docbook
lib/lwres/man/lwres_gabn.docbook
+193
-190
lib/lwres/man/lwres_gai_strerror.docbook
lib/lwres/man/lwres_gai_strerror.docbook
+168
-131
lib/lwres/man/lwres_getaddrinfo.docbook
lib/lwres/man/lwres_getaddrinfo.docbook
+347
-334
lib/lwres/man/lwres_gethostent.docbook
lib/lwres/man/lwres_gethostent.docbook
+360
-330
lib/lwres/man/lwres_getipnode.docbook
lib/lwres/man/lwres_getipnode.docbook
+276
-254
lib/lwres/man/lwres_getnameinfo.docbook
lib/lwres/man/lwres_getnameinfo.docbook
+173
-124
lib/lwres/man/lwres_getrrsetbyname.docbook
lib/lwres/man/lwres_getrrsetbyname.docbook
+179
-166
lib/lwres/man/lwres_gnba.docbook
lib/lwres/man/lwres_gnba.docbook
+191
-191
lib/lwres/man/lwres_hstrerror.docbook
lib/lwres/man/lwres_hstrerror.docbook
+115
-89
lib/lwres/man/lwres_inetntop.docbook
lib/lwres/man/lwres_inetntop.docbook
+87
-68
lib/lwres/man/lwres_noop.docbook
lib/lwres/man/lwres_noop.docbook
+196
-172
lib/lwres/man/lwres_packet.docbook
lib/lwres/man/lwres_packet.docbook
+240
-169
lib/lwres/man/lwres_resutil.docbook
lib/lwres/man/lwres_resutil.docbook
+192
-177
make/rules.in
make/rules.in
+27
-30
No files found.
bin/check/named-checkconf.docbook
View file @
268a4475
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
[<!ENTITY mdash "—">
]>
<!--
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
...
...
@@ -15,9 +17,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.docbook,v 1.10 2005/04/07 03:49:55 marka Exp $ -->
<!-- $Id: named-checkconf.docbook,v 1.11 2005/05/11 05:55:35 sra Exp $ -->
<refentry>
<refentryinfo>
<date>
June 14, 2000
</date>
...
...
@@ -29,6 +29,20 @@
<refmiscinfo>
BIND9
</refmiscinfo>
</refmeta>
<docinfo>
<copyright>
<year>
2004
</year>
<year>
2005
</year>
<holder>
Internet Systems Consortium, Inc. ("ISC")
</holder>
</copyright>
<copyright>
<year>
2000
</year>
<year>
2001
</year>
<year>
2002
</year>
<holder>
Internet Software Consortium
</holder>
</copyright>
</docinfo>
<refnamediv>
<refname><application>
named-checkconf
</application></refname>
<refpurpose>
named configuration file syntax checking tool
</refpurpose>
...
...
@@ -47,9 +61,9 @@
<refsect1>
<title>
DESCRIPTION
</title>
<para>
<command>
named-checkconf
</command>
checks the syntax, but not
the semantics, of a named
configuration file.
<para>
<command>
named-checkconf
</command>
checks the syntax, but not the semantics, of a named
configuration file.
</para>
</refsect1>
...
...
@@ -59,52 +73,53 @@
<variablelist>
<varlistentry>
<term>
-t
<replaceable
class=
"parameter"
>
directory
</replaceable></term>
<listitem>
<para>
chroot to
<filename>
directory
</filename>
so that include
directives in the configuration file are processed as if
run by a similarly chrooted named.
</para>
</listitem>
<listitem>
<para>
chroot to
<filename>
directory
</filename>
so that
include
directives in the configuration file are processed as if
run by a similarly chrooted named.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-v
</term>
<listitem>
<para>
Print the version of the
<command>
named-checkconf
</command>
program and exit.
</para>
</listitem>
<listitem>
<para>
Print the version of the
<command>
named-checkconf
</command>
program and exit.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-z
</term>
<listitem>
<para>
Perform a check load the master zonefiles found in
<filename>
named.conf
</filename>
.
</para>
</listitem>
<listitem>
<para>
Perform a check load the master zonefiles found in
<filename>
named.conf
</filename>
.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-j
</term>
<listitem>
<para>
When loading a zonefile read the journal if it exists.
</para>
</listitem>
<listitem>
<para>
When loading a zonefile read the journal if it exists.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
filename
</term>
<listitem>
<para>
The name of the configuration file to be checked. If not
specified, it defaults to
<filename>
/etc/named.conf
</filename>
.
</para>
</listitem>
<listitem>
<para>
The name of the configuration file to be checked. If not
specified, it defaults to
<filename>
/etc/named.conf
</filename>
.
</para>
</listitem>
</varlistentry>
</variablelist>
...
...
@@ -113,17 +128,16 @@
<refsect1>
<title>
RETURN VALUES
</title>
<para>
<command>
named-checkconf
</command>
returns an exit status of 1 if
errors were detected and 0 otherwise.
<para><command>
named-checkconf
</command>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</para>
</refsect1>
<refsect1>
<title>
SEE ALSO
</title>
<para>
<citerefentry>
<refentrytitle>
named
</refentrytitle>
<manvolnum>
8
</manvolnum>
<para><citerefentry>
<refentrytitle>
named
</refentrytitle><manvolnum>
8
</manvolnum>
</citerefentry>
,
<citetitle>
BIND 9 Administrator Reference Manual
</citetitle>
.
</para>
...
...
@@ -131,16 +145,12 @@
<refsect1>
<title>
AUTHOR
</title>
<para>
<corpauthor>
Internet Systems Consortium
</corpauthor>
<para><corpauthor>
Internet Systems Consortium
</corpauthor>
</para>
</refsect1>
</refentry>
<!--
</refentry>
<!--
- Local variables:
- mode: sgml
- End:
-->
bin/check/named-checkzone.docbook
View file @
268a4475
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
[<!ENTITY mdash "—">
]>
<!--
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
...
...
@@ -15,9 +17,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.docbook,v 1.16 2005/04/07 03:49:55 marka Exp $ -->
<!-- $Id: named-checkzone.docbook,v 1.17 2005/05/11 05:55:35 sra Exp $ -->
<refentry>
<refentryinfo>
<date>
June 13, 2000
</date>
...
...
@@ -29,6 +29,20 @@
<refmiscinfo>
BIND9
</refmiscinfo>
</refmeta>
<docinfo>
<copyright>
<year>
2004
</year>
<year>
2005
</year>
<holder>
Internet Systems Consortium, Inc. ("ISC")
</holder>
</copyright>
<copyright>
<year>
2000
</year>
<year>
2001
</year>
<year>
2002
</year>
<holder>
Internet Software Consortium
</holder>
</copyright>
</docinfo>
<refnamediv>
<refname><application>
named-checkzone
</application></refname>
<refpurpose>
zone file validity checking tool
</refpurpose>
...
...
@@ -56,12 +70,11 @@
<refsect1>
<title>
DESCRIPTION
</title>
<para>
<command>
named-checkzone
</command>
checks the syntax and integrity of
a zone file. It performs the same checks as
<command>
named
</command>
does when loading a zone. This makes
<command>
named-checkzone
</command>
useful for checking zone
files before configuring them into a name server.
<para><command>
named-checkzone
</command>
checks the syntax and integrity of a zone file. It performs the
same checks as
<command>
named
</command>
does when loading a
zone. This makes
<command>
named-checkzone
</command>
useful for
checking zone files before configuring them into a name server.
</para>
</refsect1>
...
...
@@ -71,78 +84,80 @@
<variablelist>
<varlistentry>
<term>
-d
</term>
<listitem>
<para>
Enable debugging.
</para>
</listitem>
<listitem>
<para>
Enable debugging.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-q
</term>
<listitem>
<para>
Quiet mode - exit code only.
</para>
</listitem>
<listitem>
<para>
Quiet mode - exit code only.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-v
</term>
<listitem>
<para>
Print the version of the
<command>
named-checkzone
</command>
program and exit.
</para>
</listitem>
<listitem>
<para>
Print the version of the
<command>
named-checkzone
</command>
program and exit.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-j
</term>
<listitem>
<para>
When loading the zone file read the journal if it exists.
</para>
When loading the zone file read the journal if it exists.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-c
<replaceable
class=
"parameter"
>
class
</replaceable></term>
<listitem>
<para>
Specify the class of the zone. If not specified "IN" is assumed.
</para>
</listitem>
<listitem>
<para>
Specify the class of the zone. If not specified "IN" is assumed.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-k
<replaceable
class=
"parameter"
>
mode
</replaceable></term>
<listitem>
<para>
Perform
<command>
"check-name"
</command>
checks with the specified failure mode.
Possible modes are
<command>
"fail"
</command>
,
<command>
"warn"
</command>
(default) and
<command>
"ignore"
</command>
.
</para>
</listitem>
<listitem>
<para>
Perform
<command>
"check-name"
</command>
checks with
the specified failure mode.
Possible modes are
<command>
"fail"
</command>
,
<command>
"warn"
</command>
(default) and
<command>
"ignore"
</command>
.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-n
<replaceable
class=
"parameter"
>
mode
</replaceable></term>
<listitem>
<para>
Specify whether NS records should be checked to see if they
are addresses. Possible modes are
<command>
"fail"
</command>
,
<command>
"warn"
</command>
(default) and
<command>
"ignore"
</command>
.
</para>
</listitem>
<listitem>
<para>
Specify whether NS records should be checked to see if they
are addresses. Possible modes are
<command>
"fail"
</command>
,
<command>
"warn"
</command>
(default) and
<command>
"ignore"
</command>
.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-o
<replaceable
class=
"parameter"
>
filename
</replaceable></term>
<listitem>
<para>
Write zone output to
<filename>
filename
</filename>
.
Write zone output to
<filename>
filename
</filename>
.
</para>
</listitem>
</varlistentry>
...
...
@@ -151,9 +166,10 @@
<term>
-t
<replaceable
class=
"parameter"
>
directory
</replaceable></term>
<listitem>
<para>
chroot to
<filename>
directory
</filename>
so that include
directives in the configuration file are processed as if
run by a similarly chrooted named.
chroot to
<filename>
directory
</filename>
so that
include
directives in the configuration file are processed as if
run by a similarly chrooted named.
</para>
</listitem>
</varlistentry>
...
...
@@ -162,52 +178,54 @@
<term>
-w
<replaceable
class=
"parameter"
>
directory
</replaceable></term>
<listitem>
<para>
chdir to
<filename>
directory
</filename>
so that relative
filenames in master file $INCLUDE directives work. This
is similar to the directory clause in
<filename>
named.conf
</filename>
.
chdir to
<filename>
directory
</filename>
so that
relative
filenames in master file $INCLUDE directives work. This
is similar to the directory clause in
<filename>
named.conf
</filename>
.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-D
</term>
<listitem>
<para>
Dump zone file in canonical format.
</para>
</listitem>
<listitem>
<para>
Dump zone file in canonical format.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
-W
<replaceable
class=
"parameter"
>
mode
</replaceable></term>
<listitem>
<para>
Specify whether to check for non-terminal wildcards.
Non-terminal wildcards are almost always the result of a
failure to understand the wildcard matching algorithm (RFC 1034).
Possible modes are
<command>
"warn"
</command>
(default) and
<command>
"ignore"
</command>
.
</para>
</listitem>
<listitem>
<para>
Specify whether to check for non-terminal wildcards.
Non-terminal wildcards are almost always the result of a
failure to understand the wildcard matching algorithm (RFC 1034).
Possible modes are
<command>
"warn"
</command>
(default)
and
<command>
"ignore"
</command>
.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
zonename
</term>
<listitem>
<para>
The domain name of the zone being checked.
</para>
</listitem>
<listitem>
<para>
The domain name of the zone being checked.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
filename
</term>
<listitem>
<para>
The name of the zone file.
</para>
</listitem>
<listitem>
<para>
The name of the zone file.
</para>
</listitem>
</varlistentry>
</variablelist>
...
...
@@ -216,17 +234,16 @@
<refsect1>
<title>
RETURN VALUES
</title>
<para>
<command>
named-checkzone
</command>
returns an exit status of 1 if
errors were detected and 0 otherwise.
<para><command>
named-checkzone
</command>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</para>
</refsect1>
<refsect1>
<title>
SEE ALSO
</title>
<para>
<citerefentry>
<refentrytitle>
named
</refentrytitle>
<manvolnum>
8
</manvolnum>
<para><citerefentry>
<refentrytitle>
named
</refentrytitle><manvolnum>
8
</manvolnum>
</citerefentry>
,
<citetitle>
RFC 1035
</citetitle>
,
<citetitle>
BIND 9 Administrator Reference Manual
</citetitle>
.
...
...
@@ -235,16 +252,12 @@
<refsect1>
<title>
AUTHOR
</title>
<para>
<corpauthor>
Internet Systems Consortium
</corpauthor>
<para><corpauthor>
Internet Systems Consortium
</corpauthor>
</para>
</refsect1>
</refentry>
<!--
</refentry>
<!--
- Local variables:
- mode: sgml
- End:
-->
bin/dig/dig.docbook
View file @
268a4475
This diff is collapsed.
Click to expand it.
bin/dig/host.docbook
View file @
268a4475
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.0//EN"
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
[<!ENTITY mdash "—">
]>
<!--
- Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
...
...
@@ -15,204 +17,236 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.docbook,v 1.7 2004/11/10 22:04:25 marka Exp $ -->
<!-- $Id: host.docbook,v 1.8 2005/05/11 05:55:36 sra Exp $ -->
<refentry>
<refentryinfo>
<date>
Jun 30, 2000
</date>
</refentryinfo>
<refmeta>
<refentrytitle>
host
</refentrytitle>
<manvolnum>
1
</manvolnum>
<refmiscinfo>
BIND9
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>
host
</refname>
<refpurpose>
DNS lookup utility
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>
host
</command>
<arg><option>
-aCdlnrTwv
</option></arg>
<arg><option>
-c
<replaceable
class=
"parameter"
>
class
</replaceable></option></arg>
<arg><option>
-N
<replaceable
class=
"parameter"
>
ndots
</replaceable></option></arg>
<arg><option>
-R
<replaceable
class=
"parameter"
>
number
</replaceable></option></arg>
<arg><option>
-t
<replaceable
class=
"parameter"
>
type
</replaceable></option></arg>
<arg><option>
-W
<replaceable
class=
"parameter"
>
wait
</replaceable></option></arg>
<arg><option>
-m
<replaceable
class=
"parameter"
>
flag
</replaceable></option></arg>
<arg><option>
-4
</option></arg>
<arg><option>
-6
</option></arg>
<arg
choice=
req
>
name
</arg>
<arg
choice=
opt
>
server
</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>
DESCRIPTION
</title>
<para>
<command>
host
</command>
is a simple utility for performing DNS lookups.
It is normally used to convert names to IP addresses and vice versa.
When no arguments or options are given,
<command>
host
</command>
prints a short summary of its command line arguments and options.
</para>
<para>
<parameter>
name
</parameter>
is the domain name that is to be looked
up. It can also be a dotted-decimal IPv4 address or a colon-delimited
IPv6 address, in which case
<command>
host
</command>
will by default
perform a reverse lookup for that address.
<parameter>
server
</parameter>
is an optional argument which is either
the name or IP address of the name server that
<command>
host
</command>
should query instead of the server or servers listed in
<filename>
/etc/resolv.conf
</filename>
.
</para>
<para>
The
<option>
-a
</option>
(all) option is equivalent to setting the
<option>
-v
</option>
option and asking
<command>
host
</command>
to make
a query of type ANY.
</para>
<para>
When the
<option>
-C
</option>
option is used,
<command>
host
</command>
will attempt to display the SOA records for zone
<parameter>
name
</parameter>
from all the listed authoritative name
servers for that zone. The list of name servers is defined by the NS
records that are found for the zone.
</para>
<para>
The
<option>
-c
</option>
option instructs to make a DNS query of class
<parameter>
class
</parameter>
. This can be used to lookup Hesiod or
Chaosnet class resource records. The default class is IN (Internet).
</para>
<para>
Verbose output is generated by
<command>
host
</command>
when the
<option>
-d
</option>
or
<option>
-v
</option>
option is used. The two
options are equivalent. They have been provided for backwards
compatibility. In previous versions, the
<option>
-d
</option>
option
switched on debugging traces and
<option>
-v
</option>
enabled verbose
output.
</para>
<para>
List mode is selected by the
<option>
-l
</option>
option. This makes
<command>
host
</command>
perform a zone transfer for zone
<parameter>
name
</parameter>
. Transfer the zone printing out the NS, PTR
and address records (A/AAAA). If combined with
<option>
-a
</option>
all records will be printed.
</para>
<para>
The
<option>
-i
</option>
option specifies that reverse lookups of IPv6 addresses should
use the IP6.INT domain as defined in RFC1886.
The default is to use IP6.ARPA.
</para>
<para>
The
<option>
-N
</option>
option sets the number of dots that have to be
in
<parameter>
name
</parameter>
for it to be considered absolute. The
default value is that defined using the ndots statement in
<filename>
/etc/resolv.conf
</filename>
, or 1 if no ndots statement is
present. Names with fewer dots are interpreted as relative names and
will be searched for in the domains listed in the
<type>
search
</type>
or
<type>
domain
</type>
directive in
<filename>
/etc/resolv.conf
</filename>
.
</para>
<para>
The number of UDP retries for a lookup can be changed with the
<option>
-R
</option>
option.
<parameter>
number
</parameter>
indicates
how many times
<command>
host
</command>
will repeat a query that does
not get answered. The default number of retries is 1. If
<parameter>
number
</parameter>
is negative or zero, the number of
retries will default to 1.
</para>
<para>
Non-recursive queries can be made via the
<option>
-r
</option>
option.
Setting this option clears the
<type>
RD
</type>
—
recursion
desired
—
bit in the query which
<command>
host
</command>
makes.
This should mean that the name server receiving the query will not
attempt to resolve
<parameter>
name
</parameter>
. The
<option>
-r
</option>
option enables
<command>
host
</command>
to mimic
the behaviour of a name server by making non-recursive queries and
expecting to receive answers to those queries that are usually
referrals to other name servers.
</para>
<para>
By default
<command>
host
</command>
uses UDP when making queries. The
<option>
-T
</option>
option makes it use a TCP connection when querying
the name server. TCP will be automatically selected for queries that
require it, such as zone transfer (AXFR) requests.
</para>