[Gllug] host and dig commands
Bruce Richardson
itsbruce at workshy.org
Fri Oct 1 09:22:23 UTC 2010
On Fri, Oct 01, 2010 at 10:00:53AM +0100, john maclean wrote:
> What's the diff between `host` and `dig`? When is it best to use either tool?
They do the same things. As you've seen, the output format is
different. Also, the default behaviour differs; "host av.com" does the
same as "dig av.com any", not "dig av.com".
Which you use is your preference. If you need to use the output in
scripts, then it's down to which format is most useful for the task.
--
Bruce
The ice-caps are melting, tra-la-la-la. All the world is drowning,
tra-la-la-la-la. -- Tiny Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20101001/1691e39b/attachment.pgp>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list