Skip to content

Instantly share code, notes, and snippets.

@Sumith1896
Created April 14, 2016 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sumith1896/ab8fec0f0ea37396dfde797fad3d0b88 to your computer and use it in GitHub Desktop.
Save Sumith1896/ab8fec0f0ea37396dfde797fad3d0b88 to your computer and use it in GitHub Desktop.
sumith1896@yoda:~$ dig google.com
; <<>> DiG 9.9.5-3ubuntu0.8-Ubuntu <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45897
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 264 IN A 216.58.197.46
;; Query time: 36 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Fri Apr 15 00:37:58 IST 2016
;; MSG SIZE rcvd: 44
sumith1896@yoda:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment