What records does this nameserver have for a given domain?


/ Published in: Bash
Save to your folder(s)

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)


Copy this code and paste it in your HTML
  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.

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.