Penetration Testing mailing list archives
Re: [PEN-TEST] DNS zone transfer tool for NT
From: Adrian <adi77 () HOME COM>
Date: Mon, 16 Oct 2000 15:48:56 -0700
That would do the trick if you already have setup the primary DNS server (in your TCP/IP settings) as the DNS server of the targeted domain. You will ask that DNS server about the domain it points to; else you will ask your ISP(s) DNS server or whatever server is set as your primary. I hope I'm clear here, if not have a look at the following commands: nslookup
server ns1.targeted_domain.com
Default Server: ns1.targeted_domain.com Address: xxx.xxx.xxx.xxx {before you would try to do the DNS zone tranfer you would probably want to set your query to ask the DNS server about any kind of records it has ....
set q=any}
ls -d targeted_domain.com.
........
exit
Not sure if you can do this with a simple batch file ... maybe if you change some values with 'reg' in the registry might do it but I'm not sure (probably it needs a reboot as well ;) ) Adrian L. aka HB3^ http://node.bc.ca - Node Solutions "Every System has a Limit" HB3^ Specializing in Networking, Security and Web Development -----Original Message----- From: Penetration Testers [mailto:PEN-TEST () SECURITYFOCUS COM]On Behalf Of Jim Linski Sent: Monday, October 16, 2000 9:07 AM To: PEN-TEST () SECURITYFOCUS COM Subject: Re: [PEN-TEST] DNS zone transfer tool for NT Couldn't something as simple as: echo ls -d %1|nslookup >c:\zone.txt In a batch file accomplish an: ls -d <domainname> in a scripted form? Jim Linski -----Original Message----- From: H Carvey [mailto:keydet89 () YAHOO COM] Sent: Friday, October 13, 2000 11:55 AM To: PEN-TEST () SECURITYFOCUS COM Subject: [PEN-TEST] DNS zone transfer tool for NT Does anyone know where I can find a command line DNS zone transfer tool that runs on NT? I am specifically interested in a version of the Linux tool "host", or a working Perl script (re: "use Net::DNS;"). Thanks, Carv
Current thread:
- [PEN-TEST] DNS zone transfer tool for NT H Carvey (Oct 13)
- Re: [PEN-TEST] DNS zone transfer tool for NT Ted Behling (Oct 14)
- <Possible follow-ups>
- Re: [PEN-TEST] DNS zone transfer tool for NT Carter, Adam (Oct 14)
- Re: [PEN-TEST] DNS zone transfer tool for NT H Carvey (Oct 15)
- Re: [PEN-TEST] DNS zone transfer tool for NT Aurobindo Sundaram (Oct 15)
- Re: [PEN-TEST] DNS zone transfer tool for NT Nelson Brito (Oct 24)
- Re: [PEN-TEST] DNS zone transfer tool for NT Stephenson, Peter (Oct 15)
- Re: [PEN-TEST] DNS zone transfer tool for NT Jim Linski (Oct 16)
- Re: [PEN-TEST] DNS zone transfer tool for NT Adrian (Oct 16)
- Re: [PEN-TEST] DNS zone transfer tool for NT H Carvey (Oct 17)
- Re: [PEN-TEST] DNS zone transfer tool for NT Frasnelli, Dan (Oct 17)
- Re: [PEN-TEST] DNS zone transfer tool for NT Wannemacher, Eric (Oct 17)
- Re: [PEN-TEST] DNS zone transfer tool for NT Frank Knobbe (Oct 17)
- Re: [PEN-TEST] DNS zone transfer tool for NT Laumann, Dave (Oct 18)
- Re: [PEN-TEST] DNS zone transfer tool for NT Carskadden, Rush (Oct 24)