Co robi DIG użycie. Konsola command. When invoked with just the -h option, it displays a list of.

Czy przydatne?

Polecenie dig

Wykonanie, użycie: The dig command is used to query DNS servers; it is more flexible than the deprecated nslookup command. When invoked with just the -h option, it displays a list of options for the command. If you use it without any options or arguments, it will search for the root server. The standard arguments are:

server

The server to query. If no server is supplied, dig will check the nameservers listed in /etc/resolv.conf. The address may be an IPv4 dotted address or an IPv6 colon-delimited address. It may also be a hostname, which dig will resolve (through the nameservers in /etc/resolv.conf).

name

The domain name to look up.

type

The type of query to perform, such as A, ANY, MX, SIG, and so forth. The default is A, but you may use any valid BIND9 query type

Opcje wykonania dig w konsoli

You may use the following option flags with dig:

-b address

Set the source IP address for the query.

-c class

Set the class of query. The default value is IN (internet), but you can choose HS for Hesiod or CH for CHAOSNET.

-f filename

Operate in batch mode, performing the queries in the file you specify.

-p portnumber

Choose the port number for the query. The default value is the standard DNS port, 53.

-t type

Set the type of query, as with the query argument. The default value is A, but you may use any valid BIND9 query.

-x addr

Use the -x flag for reverse lookups, specifying an IPv4 or IPv6 address. You do not need the name, class, or type arguments if you use the -x flag.

-k filename

Specify a TSIG keyfile; used for signed transactions. You can also use the -y key, although this is less secure.

-y keyname: keyvalue

Enter the actual key name and value when conducting a signed transaction. Because the key and value can be seen in the output of ps, this is not recommended for use on multiuser systems; use -k instead.

Przykłady dig działanie w Słownik polecenie D

Przykład DIG użycie :
Jak użyć Print information about the keyboard driver's translation tables to standard output. Further information is available in the manual pages under keymaps (5 co znaczy.
Przykład DIG użycie :
Jak użyć specified command with the specified options and arguments. Differs from the normal exec command in that argv [0] may be completely arbitrary, and in that it passes all options to the executable krzyżówka.
Przykład DIG użycie :
Jak użyć Set or display name of current NIS domain. With no argument, domainname displays the name of the current NIS domain. Only a privileged user can set the domain name by giving an argument; this is co to jest.
Przykład DIG użycie :
Jak użyć administration command. Sign a secure DNS keyset with the key signatures specified in the list of key-identifiers . A zone administrator would use this command to sign a child zone's keyset with słownik.
Przykład DIG użycie :
Jak użyć date and time. You may specify a display format . format can consist of literal text strings (blanks must be quoted) as well as field descriptors, whose values will appear as described in the czym jest.