My question revolves around querying a DNS Server.
A zone file of DNS looks like
.
.
.
etc..
i am in the web hosting dept. now, what i had to do is.. in case.. i give a site name in the ".nic.in" domain.. say "tempweb3".. i should get all the URLS with the same IP Address.. omega, tempweb4, tempweb5.. tempweb10..
i used "gethostbyaddr"..and all.. thats giving me the name of the primary URL of tempweb3 only.. not all..
i made another prog.. but that is giving me the different names.. of the same site.. eg .. mail.yahoo.com and login.yahoo.com .. both give the same page..
i need that..plus i need the names of URLs that r not referring to the same site..
you see.. like indiannavy.nic.in, indianarmy.nic.in have same IP address.. but refer to diff places..
I hope I am able to put across my point. I have tried snippets, Net::DNS::RR, NET::DNS::Resolver... no luck..