host -l org.ua | cut -d " " -f 1 | sort | uniq
if you want to remove the name server piece. and remove duplicates.
rm.
On Tue, 17 Oct 2000, ross wrote:
>
> root@depression/# host -l org.ua | grep -c .
> 1039
> root@depression/# host -l org.ua | head
> org.ua name server ns.lucky.net
> org.ua name server ns.gu.net
> org.ua name server ns.kolo.net
> org.ua has address 193.193.193.107
> dniito.org.ua name server ns.dniito.org.ua
> ns.dniito.org.ua has address 194.44.49.186
> dniito.org.ua name server ns1.secondary.net.ua
> opera.org.ua name server ns3.ukrnet.net
> opera.org.ua name server ns2.ukrnet.net
> opera.org.ua name server ns212.viaduk.net
> root@depression/#
>
>
> rm.
>
> On Tue, 17 Oct 2000, Sergei Kolodka wrote:
>
> > Hi,
> > quick question for DNS&Unix Gurus
> >
> > I need to retrieve complete zone file for .ua.
> > How can i do that with standard or nonstandard
> > unix tools ?
> >
> > Example: need to know all registered domains in .org.ua
> > (not so much, near thousand)
> >
> > nslookup ns.lucky.net
> > > ls org.ua.
> > [ns.lucky.net]
> > org 1D IN A 193.193.193.107
> > ns.penclub.org 1D IN A 193.220.128.10
> > art.org 1D IN A 193.193.193.99
> > ns.economy.org 1D IN A 195.230.158.66
> > asip.kis.org 1D IN A 212.90.161.149
> >
> > But i need list of domains with their nameservers.
> > And list is not complete. Also these ns... I don't need them.
> > Any solution ? Am i miss something ?
> >
> > Thanx
> > Sergei
> >
> >
>
>