Change Query Type on nslookup

Mark Andrews marka at isc.org
Thu Apr 7 06:36:03 UTC 2011


In message <4D9D502D.7080108 at data.pl>, Torinthiel writes:
> On 04/07/11 06:42, mee thun wrote:
> > Good Morning..
> >=20
> > I am new member in this mailing list. I need help to change the query
> > type in the nslookup command.
> > The default nslookup using A, but I use ipv6 so the query type must use=
> 
> > AAAA. I don't know how to change the default nslookup from A to AAAA
> > permanently?
> 
> first, this is a bind list, and nslookup is not a bind tool. Consider
> using dig, which is much better in this case.

nslookup is a BIND tool,  we just tried hard to deprecate it.
 
> And, IIRC, when you run nslookup you can put
> set type=AAAA
> yourquery.com
> 
> and that should give the effect you want
> I have no idea how to change the default query type for any of the tools.=
> 
> 
> Torinthiel
> 
> 
> 
> 
> --------------enigF96CA10530F411769FF2D20E
> Content-Type: application/pgp-signature; name="signature.asc"
> Content-Description: OpenPGP digital signature
> Content-Disposition: attachment; filename="signature.asc"
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.16 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk2dUDQACgkQfOvN3AkGos4kKQCfXmxr8PknsEXyCswBqqdehAE2
> orgAnjxP66xpZGxTQFKESsxSPMFCLxxp
> =T21l
> -----END PGP SIGNATURE-----
> 
> --------------enigF96CA10530F411769FF2D20E--
> 
> --===============7001123361952416593==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> --===============7001123361952416593==--
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list