Last active
August 29, 2015 13:56
-
-
Save jfly/9179054 to your computer and use it in GitHub Desktop.
dns tricks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# figure out authoritative dns server for domain | |
~ @localhost> nslookup -querytype=soa jpi.jflei.com | |
Server: 192.168.1.1 | |
Address: 192.168.1.1#53 | |
Non-authoritative answer: | |
*** Can't find jpi.jflei.com: No answer | |
Authoritative answers can be found from: | |
jflei.com | |
origin = ns19.zoneedit.com | |
mail addr = soacontact.zoneedit.com | |
serial = 2014077198 | |
refresh = 2400 | |
retry = 360 | |
expire = 1209600 | |
minimum = 300 | |
# do dns lookup from authoritative dns server, rather than nearest caching server | |
~ @localhost> nslookup jpi.jflei.com ns19.zoneedit.com | |
Server: ns19.zoneedit.com | |
Address: 74.50.27.56#53 | |
Name: jpi.jflei.com | |
Address: 67.180.48.77 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment