Vote count:
0
Even though the option +cdflag is mentioned, dig is not setting the cd flag in the query. So anyone let me know how to set the cdflag in the query using dig command?
Below is the output of the dig command.
dig +cdflag @10.217.120.2 www.google.com A
; <<>> DiG 9.3.4-P1 <<>> +cdflag @10.217.120.2 www.google.com A
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14066
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.google.com. IN A
;; ANSWER SECTION:
www.google.com. 11 IN A 74.125.239.48
www.google.com. 11 IN A 74.125.239.50
www.google.com. 11 IN A 74.125.239.51
www.google.com. 11 IN A 74.125.239.49
www.google.com. 11 IN A 74.125.239.52
;; Query time: 214 msec
;; SERVER: 10.217.120.2#53(10.217.120.2)
;; WHEN: Sun Jan 4 23:01:28 2015
;; MSG SIZE rcvd: 112
asked 47 secs ago
How to set cd flag in dns query using dig command?
Aucun commentaire:
Enregistrer un commentaire