Unix and Linux Discussions Tagged with dns |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
14 |
17,392 |
Cybersecurity |
|
|
|
18 |
21,966 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
15,442 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,011 |
UNIX for Beginners Questions & Answers |
|
|
|
12 |
20,166 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
5,169 |
Solaris |
|
|
|
12 |
27,486 |
IP Networking |
|
|
|
3 |
21,925 |
Emergency UNIX and Linux Support |
|
|
|
4 |
4,660 |
IP Networking |
|
|
|
5 |
10,002 |
Linux |
|
|
|
3 |
4,339 |
IP Networking |
|
|
|
0 |
2,705 |
Red Hat |
|
|
|
8 |
6,542 |
SCO |
|
|
|
1 |
3,241 |
What is on Your Mind? |
|
|
|
1 |
3,912 |
Red Hat |
|
|
|
9 |
4,920 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
3,983 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
5,354 |
IP Networking |
|
|
|
1 |
4,827 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
4,028 |
Solaris |
|
|
|
0 |
2,318 |
Solaris |
|
|
|
3 |
6,507 |
Solaris |
|
|
|
4 |
6,552 |
Ubuntu |
|
|
|
8 |
4,240 |
Solaris |
|
|
|
1 |
2,884 |
IP Networking |
|
|
|
0 |
2,955 |
Solaris |
|
|
|
2 |
4,979 |
IP Networking |
|
|
|
4 |
3,204 |
Shell Programming and Scripting |
|
|
|
1 |
3,484 |
Solaris |
|
|
|
0 |
3,380 |
Red Hat |
|
|
|
7 |
6,691 |
IP Networking |
|
|
|
0 |
2,886 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,928 |
Homework & Coursework Questions |
|
|
|
1 |
4,831 |
Cybersecurity |
|
|
|
7 |
16,345 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
3,936 |
Ubuntu |
|
|
|
6 |
125,084 |
Red Hat |
|
|
|
2 |
3,950 |
Solaris |
|
|
|
2 |
5,665 |
Red Hat |
|
|
|
1 |
6,104 |
IP Networking |
dns(n) Tnm Tcl Extension dns(n)
__________________________________________________________________________________________________________________________________________________
NAME
dns - Query the Domain Name System of the Internet.
_________________________________________________________________
DESCRIPTION
The dns command allows to query the Internet Domain Name System (DNS) (RFC 1034, RFC 1035, RFC 974, RFC 1912) for host information. The
main purpose of this command is to convert host names into IP addresses and vice versa. The dns command also allows to retrieve host infor-
mation records as well as mail exchanger records.
DNS COMMAND
dns [options]
Invoking the dns command with options but without any command arguments allows to retrieve and change the default values. See the
description of supported options below. Default values are bound to a Tcl interpreter which allows to have multiple Tcl interpreter
with different defaults.
dns [options] address host
The dns address command sends a query to retrieve the address record for the specified host. The command returns the list of IP
addresses for the given host name.
dns [options] name address
The dns name command sends a query to retrieve the domain name pointer record. A pointer record maps an IP address to a fully quali-
fied domain name (FQDN). The command returns the fully qualified domain name for the given IP address.
dns [options] hinfo name
The dns hinfo command sends a query to retrieve the host information record. The command returns a list containing two elements. The
first element describes the hardware type and the second element the operating system.
dns [options] mx name
The dns mx command sends a query to retrieve the mail exchanger record. The command returns a list of mail exchanger records if name
is a domain name for which one or more MX records exist. Each element of this list contains a full qualified domain name (FQDN) and
its priority.
dns [options] soa name
The dns soa command sends a query to retrieve the start of authority record for a DNS domain. The command returns the name of the
authoritative DNS server of the DNS domain name.
DNS OPTIONS
-server server
The -server option defines the DNS server which will be used to process the request. The default value is the default DNS server
configured on the local system.
-timeout time
The -timeout option defines the time the dns command will wait for a response. The time is defined in seconds with a default of 2
seconds.
-retries number
The -retries option defines how many times a request is retransmitted during the timeout interval. The default number of retries is
2. Please note, that many resolver double the last timeout after every retry.
SEE ALSO
scotty(1), Tnm(n), Tcl(n)
AUTHORS
Erik Schoenfelder <schoenfr@gaertner.de>
Juergen Schoenwaelder <schoenw@cs.utwente.nl>
Tnm dns(n)