|
<- Previous Message | Next Message -> Thread Index [isp-dns] simple Re: script to list nameservers
hi ya > 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. you already have ALL the files you need ... assuming, as oyu should have access to the "master server", it already has the ENTIRE 1,000 domains listed named.conf will list all your domains - it doesnt matter which registrar you used, network[problems] or two-cows or go-daddy or any other registrar - they all are should be told to use your "master dns server" for your domains - if those registrars are using another-master-dns-server, you still have that file named.conf on the "another master server" too - the script you want: grep NS /etc/named.conf | grep -i old-dns-ip=number or "grep -iv" to current dns servers concatenate all your named.conf files if you have multiple "primary" dns servers spread out across hundred countries - lesson would also be.... move all your domains to your own dns servers where you have 100% control and access at any time c ya alvin 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.
Thread Index |