|
User #97661 1329 posts
Whirlpool Enthusiast
|
Can I use nslookup in DOS to query a specific DNS server to see what records it is holding for a particular domain?
|
posted 2008-May-7, 7pm AEST
|
|
User #17462 5267 posts
Service Provider
|
Of course:
shaun-ewings-macbook-pro:~ shaun$ nslookup > server 192.231.203.132 Default server: 192.231.203.132 Address: 192.231.203.132#53 > whirlpool.net.au Server: 192.231.203.132 Address: 192.231.203.132#53
Non-authoritative answer: Name: whirlpool.net.au Address: 203.147.133.62 > set q=mx > whirlpool.net.au Server: 192.231.203.132 Address: 192.231.203.132#53
Non-authoritative answer: whirlpool.net.au mail exchanger = 10 mx1.bne.server-mail.com. whirlpool.net.au mail exchanger = 50 mx2.bne.server-mail.com.
Authoritative answers can be found from: whirlpool.net.au nameserver = bne001n.server-dns.com. whirlpool.net.au nameserver = wic001n.server-dns.com.au. whirlpool.net.au nameserver = sjc001n.server-dns-us.com. wic001n.server-dns.com.au internet address = 203.147.142.1 bne001n.server-dns.com internet address = 203.147.241.3 sjc001n.server-dns-us.com internet address = 204.176.184.35
-Shaun
|
posted 2008-May-7, 8pm AEST
|
|
User #166564 431 posts
Forum Regular
|
nslookup domain.com server.ip or... dig @server.ip any domain.com
|
posted 2008-May-7, 9pm AEST
|
|
|
|
User #97661 1329 posts
Whirlpool Enthusiast
|
Thanks guys. php ftw! writes... nslookup domain.com server.ip or... dig @server.ip any domain.com
DOS doesn't seem to like dig :(
says "not recognized as an internal or external command" Ewing writes... Of course:
shaun-ewings-macbook-pro:~ shaun$ nslookup > server 192.231.203.132
Coincidentally that is exactly the server I want to query. Only trouble is it's refusing my query. Would that be because I'm not on the Node network at the moment?
|
posted 2008-May-7, 10pm AEST
edited 2008-May-7, 11pm AEST
|
|
User #17462 5267 posts
Service Provider
|
kh writes... Would that be because I'm not on the Node network at the moment?
Yes.
I believe Internode turned off DNS recursion for non-trusted IP addresses a while back.
If there's a particular query you want to run against that server feel free to send me a whim and I'll do it for you.
|
posted 2008-May-7, 11pm AEST
|
|
User #97661 1329 posts
Whirlpool Enthusiast
|
Ewing writes... If there's a particular query you want to run against that server feel free to send me a whim and I'll do it for you.
Thanks for the offer, but I need to go to bed now so I'll just check it from the office in the morning (we use Node from the office).
Cheers, Kevin
|
posted 2008-May-7, 11pm AEST
|
|
User #39117 1739 posts
Whirlpool Enthusiast
|
Ewing writes... I believe Internode turned off DNS recursion for non-trusted IP addresses a while back.
Odd, Still appears to work from me on my home (BP Cable) connection. Strange me thinks.
|
posted 2008-May-13, 12am AEST
|