Internet.com
Get your
ISP-News
courtesy of
internetnews.com




Search ISP-Lists
Search:
ISP Channel
CLEC-Planet
ISP Glossary
ISP News
ISP-Planet
ISP-Lists
E-mail Newsletters
Opt-in Announcements
Discussion Forums
internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

The ISP-Lists.com Email Discussion List Community

<- Previous Message | Next Message ->
Thread Index
[isp-dns] Re: script to list nameservers
  • To: isp-dns@isp-dns.com
  • Subject: [isp-dns] Re: script to list nameservers
  • From: Alex Kamantauskas <alexk@...>
  • Date: Tue, 1 Jun 2004 17:21:01 -0400 (EDT)

 Just remember to dig against a resolver that doesn't think its
 authoritative for the domain names in question.

On Tue, 1 Jun 2004, Patrick Giagnocavo +1.717.201.3366 wrote:

> On Tue, Jun 01, 2004 at 11:57:11AM -0400, Andrew P. Kaplan wrote:
> > Does anyone have a script that I can run against my 1000 domains on my
> > master server that would list domain name and authorative name servers. My
> > slave servers is going off line soon and I have been moving the nameserver,
> > but use a range of registrars with some being out of my control so I need a
> > list of domains that still have the old nameservers.
> >
> > Thank you.
> >
> > Andrew P. Kaplan
> > www.cshore.com
>
> Hi Andrew,
>
> Yes, you can use dig.
>
> e.g.
>
> dig zill.net | grep NS | grep -v ";;"
>
> gives:
>
> zill.net.       255324  NS      ns3.zill.net.
> zill.net.       255324  NS      ns1.zill.net.
> zill.net.       255324  NS      ns2.zill.net.
>
> Explanation: dig ns example.com gives you a lot of information, so you
> use grep to only find the NS (nameserver) lines.  There are comments
> that start with ";;" so you pipe it to grep again to tell it to ignore
> those comments.
>
> If you want to get fancier, just add more grep or grep -v commands.
> For instance, if you want to ignore those cases where the proper DNS
> is listed, add "grep -v mydns" where mydns is your nameserver.
>
> Cordially
> --
> +--------------------------------------------------+
> | Patrick Giagnocavo, patrick@...             |
> | Zill.Net - OpenACS, Postgres, Web hosting        |
> | OpenACS v4 shared server       $49.95/month      |
> | Colocation w/50GB transfer     $79.00/month      |
> | Managed servers (incl. system) $225/month        |
> +--------------------------------------------------+
>
>




> To unsubscribe via postal mail, please contact us at:
> Jupitermedia Corp.
> Attn: Discussion List Management
> 475 Park Avenue South
> New York, NY 10016
>
> Please include the email address which you have been contacted with.
>


-- 
/ak <alexk@...>

 Parents were invented to make children happy by giving them
 something to ignore.
  -- Ogden Nash






To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Replies
[isp-dns] script to list nameservers, Andrew P. Kaplan
[isp-dns] Re: script to list nameservers, Patrick Giagnocavo +1.717.201.3366
<- Previous Message | Next Message ->
Thread Index

ISP Glossary
Find an ISP Term

Need Help?

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Tripwire Whitepaper: Seven Practical Steps to Mitigate Virtualization Security Risks
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES