Skip to content

Instantly share code, notes, and snippets.

@dantrevino
Created August 16, 2018 18:33
Show Gist options
  • Save dantrevino/f59bccfef46f932d12ccdb68969d9651 to your computer and use it in GitHub Desktop.
Save dantrevino/f59bccfef46f932d12ccdb68969d9651 to your computer and use it in GitHub Desktop.
Android dns resolve
dig yahoo.com
; <<>> DiG 9.12.2-P1 <<>> yahoo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24731
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;yahoo.com. IN A
;; ANSWER SECTION:
yahoo.com. 911 IN A 98.137.246.7
yahoo.com. 911 IN A 72.30.35.9
yahoo.com. 911 IN A 98.138.219.232
yahoo.com. 911 IN A 98.138.219.231
yahoo.com. 911 IN A 72.30.35.10
yahoo.com. 911 IN A 98.137.246.8
;; Query time: 96 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Aug 16 11:28:21 PDT 2018
;; MSG SIZE rcvd: 134
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment