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
606
Issues
606
List
Boards
Labels
Service Desk
Milestones
Merge Requests
113
Merge Requests
113
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
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
<!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-2003 Internet Software Consortium.
...
...
@@ -15,597 +17,856 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.docbook,v 1.20 2004/06/23 04:07:29 marka Exp $ -->
<!-- $Id: dig.docbook,v 1.21 2005/05/11 05:55:35 sra Exp $ -->
<refentry>
<refentryinfo>
<date>
Jun 30, 2000
</date>
</refentryinfo>
<refmeta>
<refentrytitle>
dig
</refentrytitle>
<manvolnum>
1
</manvolnum>
<refmiscinfo>
BIND9
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>
dig
</refname>
<refpurpose>
DNS lookup utility
</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>
dig
</command>
<arg
choice=
opt
>
@server
</arg>
<arg><option>
-b
<replaceable
class=
"parameter"
>
address
</replaceable></option></arg>
<arg><option>
-c
<replaceable
class=
"parameter"
>
class
</replaceable></option></arg>
<arg><option>
-f
<replaceable
class=
"parameter"
>
filename
</replaceable></option></arg>
<arg><option>
-k
<replaceable
class=
"parameter"
>
filename
</replaceable></option></arg>
<arg><option>
-p
<replaceable
class=
"parameter"
>
port#
</replaceable></option></arg>
<arg><option>
-t
<replaceable
class=
"parameter"
>
type
</replaceable></option></arg>
<arg><option>
-x
<replaceable
class=
"parameter"
>
addr
</replaceable></option></arg>
<arg><option>
-y
<replaceable
class=
"parameter"
>
name:key
</replaceable></option></arg>
<arg><option>
-4
</option></arg>
<arg><option>
-6
</option></arg>
<arg
choice=
opt
>
name
</arg>
<arg
choice=
opt
>
type
</arg>
<arg
choice=
opt
>
class
</arg>
<arg
choice=
opt
rep=
repeat
>
queryopt
</arg>
</cmdsynopsis>
<cmdsynopsis>
<command>
dig
</command>
<arg><option>
-h
</option></arg>
</cmdsynopsis>
<cmdsynopsis>
<command>
dig
</command>
<arg
choice=
opt
rep=
repeat
>
global-queryopt
</arg>
<arg
choice=
opt
rep=
repeat
>
query
</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>
DESCRIPTION
</title>
<para>
<command>
dig
</command>
(domain information groper) is a flexible tool
for interrogating DNS name servers. It performs DNS lookups and
displays the answers that are returned from the name server(s) that
were queried. Most DNS administrators use
<command>
dig
</command>
to
troubleshoot DNS problems because of its flexibility, ease of use and
clarity of output. Other lookup tools tend to have less functionality
than
<command>
dig
</command>
.
</para>
<para>
Although
<command>
dig
</command>
is normally used with command-line
arguments, it also has a batch mode of operation for reading lookup
requests from a file. A brief summary of its command-line arguments
and options is printed when the
<option>
-h
</option>
option is given.
Unlike earlier versions, the BIND9 implementation of
<command>
dig
</command>
allows multiple lookups to be issued from the
command line.
</para>
<para>
Unless it is told to query a specific name server,
<command>
dig
</command>
will try each of the servers listed in
<filename>
/etc/resolv.conf
</filename>
.
</para>
<para>
When no command line arguments or options are given, will perform an
NS query for "." (the root).
</para>
<para>
It is possible to set per-user defaults for
<command>
dig
</command>
via
<filename>
${HOME}/.digrc
</filename>
. This file is read and any options in it
are applied before the command line arguments.
</para>
</refsect1>
<refsect1>
<title>
SIMPLE USAGE
</title>
<para>
A typical invocation of
<command>
dig
</command>
looks like:
<programlisting>
dig @server name type
</programlisting>
where:
<variablelist>
<varlistentry><term><constant>
server
</constant></term>
<listitem><para>
is the name or IP address of the name server to query. This can be an IPv4
address in dotted-decimal notation or an IPv6
address in colon-delimited notation. When the supplied
<parameter>
server
</parameter>
argument is a hostname,
<command>
dig
</command>
resolves that name before querying that name
server. If no
<parameter>
server
</parameter>
argument is provided,
<command>
dig
</command>
consults
<filename>
/etc/resolv.conf
</filename>
and queries the name servers listed there. The reply from the name
server that responds is displayed.
</para></listitem></varlistentry>
<varlistentry><term><constant>
name
</constant></term>
<listitem><para>
is the name of the resource record that is to be looked up.
</para></listitem></varlistentry>
<varlistentry><term><constant>
type
</constant></term>
<listitem><para>
indicates what type of query is required
—
ANY, A, MX, SIG, etc.
<parameter>
type
</parameter>
can be any valid query type. If no
<parameter>
type
</parameter>
argument is supplied,
<command>
dig
</command>
will perform a lookup for an A record.
</para></listitem></varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1>
<title>
OPTIONS
</title>
<para>
The
<option>
-b
</option>
option sets the source IP address of the query
to
<parameter>
address
</parameter>
. This must be a valid address on
one of the host's network interfaces or "0.0.0.0" or "::". An optional port
may be specified by appending "#
<
port
>
"
</para>