› Foros › PC › Software libre
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> google.es
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46857
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.es. IN A
;; ANSWER SECTION:
google.es. 161 IN A 173.194.34.223
google.es. 161 IN A 173.194.34.215
google.es. 161 IN A 173.194.34.216
;; Query time: 60 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Oct 13 20:12:10 2013
;; MSG SIZE rcvd: 75
173.194.34.223
173.194.34.215
173.194.34.216
mik0 escribió:dig domino.tld +short
Ejemplo
comando: dig google.es; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> google.es
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46857
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.es. IN A
;; ANSWER SECTION:
google.es. 161 IN A 173.194.34.223
google.es. 161 IN A 173.194.34.215
google.es. 161 IN A 173.194.34.216
;; Query time: 60 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Oct 13 20:12:10 2013
;; MSG SIZE rcvd: 75
comando: dig google.es +short173.194.34.223
173.194.34.215
173.194.34.216
QUERY OPTIONS
dig provides a number of query options which affect the way in which lookups are made and the results displayed. Some of these set or reset flag bits in the query header, some determine which sections
of the answer get printed, and others determine the timeout and retry strategies.
Each query option is identified by a keyword preceded by a plus sign (+). Some keywords set or reset an option. These may be preceded by the string no to negate the meaning of that keyword. Other
keywords assign values to options like the timeout interval. They have the form +keyword=value. The query options are:
...
+[no]short
Provide a terse answer. The default is to print the answer in a verbose form.