/ Published in: Bash
                    
                                        
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)
                * '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)
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
# id relevant nameserver
dig twitter.com ns # --> ns1.mydyndns.org, etc.
# get its IP
dig ns1.mydyndns.org # --> 63.208.196.92
# what twitter records do you know about?
host twitter.com 63.208.196.92
## Using domain server:
## Name: 63.208.196.92
## Address: 63.208.196.92#53
## Aliases:
## twitter.com has address 128.121.146.100
## twitter.com mail is handled by 10 aspmx2.googlemail.com.
## twitter.com mail is handled by 10 aspmx3.googlemail.com.
## twitter.com mail is handled by 10 aspmx4.googlemail.com.
## twitter.com mail is handled by 10 aspmx5.googlemail.com.
## twitter.com mail is handled by 1 aspmx.l.google.com.
## twitter.com mail is handled by 5 alt1.aspmx.l.google.com.
## twitter.com mail is handled by 5 alt2.aspmx.l.google.com.
Comments
 Subscribe to comments
                    Subscribe to comments
                
                