[Gllug] discovering dns records

Paul Cupis paul at cupis.co.uk
Sat Oct 25 20:31:53 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 25 October 2003 21:09, Dylan <dylan at dylan.me.uk> wrote:
> Greetings
>
> Is there a console command like whois which will show me the dns
> entries for a domain?

host(1) should do the job for you.

- From the manpage:

"By default, the program simply converts between host names and Internet 
addresses. However, with the -t, -a and -v options, it can be used to 
find all of the information about domain names that is maintained by 
the domain nameserver system.  The information printed consists of 
various fields of the associated resource records that were retrieved."

Personally, I find the -a, -l and -Z options useful. -t is not a bad one 
to learn, either.

Try this: 

  $ host -al cisco.com ns1.cisco.com

Regards,

Paul Cupis
- -- 
paul at cupis.co.uk

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iEYEARECAAYFAj+a3cMACgkQIzuKV+SHX/ljvACePNMUQkwbdKL3JngYHr/m+EqM
ovYAn0dVhVcB58RQMH0gKgJVt3DKc/T2
=ivR6
-----END PGP SIGNATURE-----

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list