Posted By

cczona on 04/16/08


Tagged

domain DNS host nameserver


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

moonbather


What records does this nameserver have for a given domain?


 / Published in: Bash
 

URL: http://catalog.sonomalibrary.org/ipac20/ipac.jsp?session=1208376YY345A.33876&profile=dial&lang=eng&logout=true&startover=true

Use 'host NAME SERVER' where:

  • 'NAME' is some base domain name you want to know more about
  • 'SERVER' is the IP address of a nameserver to be queried (typically you'll want to use one of the nameserver for the name you're inquiring about)
  1. # id relevant nameserver
  2. dig twitter.com ns # --> ns1.mydyndns.org, etc.
  3.  
  4. # get its IP
  5. dig ns1.mydyndns.org # --> 63.208.196.92
  6.  
  7. # what twitter records do you know about?
  8. host twitter.com 63.208.196.92
  9.  
  10. ## Using domain server:
  11. ## Name: 63.208.196.92
  12. ## Address: 63.208.196.92#53
  13. ## Aliases:
  14.  
  15. ## twitter.com has address 128.121.146.100
  16. ## twitter.com mail is handled by 10 aspmx2.googlemail.com.
  17. ## twitter.com mail is handled by 10 aspmx3.googlemail.com.
  18. ## twitter.com mail is handled by 10 aspmx4.googlemail.com.
  19. ## twitter.com mail is handled by 10 aspmx5.googlemail.com.
  20. ## twitter.com mail is handled by 1 aspmx.l.google.com.
  21. ## twitter.com mail is handled by 5 alt1.aspmx.l.google.com.
  22. ## twitter.com mail is handled by 5 alt2.aspmx.l.google.com.

Report this snippet  

You need to login to post a comment.