On Thu, Oct 13, 2011 at 3:23 AM, Sten Carlsen <st...@s-carlsen.dk> wrote: >> Use dig. >> >> Always use dig.
> I don't quite agree, for debugging bind, use dig - for debugging lookup > issues on some machine, host will behave more like any normal program, using > resolv.conf and what else and can point to some issues dig will not > discover. E.g. normal SW using something else than DNS, because of some > setup. Dig will never catch this. If you're concern about what address programs gets when they resolve host names, then getent is a better choice as it also respects nsswitch.conf and hosts file. -- Fajar _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users