Re: host versus nslookup

2011-10-12 Thread listmail
On Thu, 13 Oct 2011 03:33:30 +0700, Fajar A. Nugraha wrote > 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. > According to the (almost useless) manpage for getent, all it does is

Re: host versus nslookup

2011-10-12 Thread Mark Andrews
In message <040b89c8b1e1d945ae2700c511a039e905a...@atmexdb04.dsw.net>, "Lightne r, Jeff" writes: > One thing that is different about nslookup on HP-UX (which doesn't have host) > is that it actually respects nsswitch.conf so will give you results from /et > c/hosts OR from name services whereas m

Re: host versus nslookup

2011-10-12 Thread Jerry K
AIX also does something similar. On 10/12/11 05:09 PM, Kevin Darcy wrote: > As far as I know, only HP-UX has hacked nslookup to look at /etc/hosts. > And I don't think it even looks at the "switch" file or other naming > sources (e.g. Yellow Plague). HP-UX's nslookup "enhancement" is a > one-off,

Re: host versus nslookup

2011-10-12 Thread Sten Carlsen
Accepted, conclusion still stands: select your tool with care for the job, don't always use just one. Think what you want to know and how each tool works. Let us put this to rest, I think we agree largely. On 13/10/11 0:09, Kevin Darcy wrote: > On 10/12/2011 5:46 PM, Sten Carlsen wrote: >> >> >>

Re: host versus nslookup

2011-10-12 Thread Kevin Darcy
On 10/12/2011 5:46 PM, Sten Carlsen wrote: On 12/10/11 22:33, Fajar A. Nugraha wrote: On Thu, Oct 13, 2011 at 3:23 AM, Sten Carlsen 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

Re: host versus nslookup

2011-10-12 Thread Sten Carlsen
On 12/10/11 22:33, Fajar A. Nugraha wrote: > On Thu, Oct 13, 2011 at 3:23 AM, Sten Carlsen 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 >> res

Re: host versus nslookup

2011-10-12 Thread Fajar A. Nugraha
On Thu, Oct 13, 2011 at 3:23 AM, Sten Carlsen 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

Re: host versus nslookup

2011-10-12 Thread Sten Carlsen
On 12/10/11 22:08, David Miller wrote: > On 10/12/2011 3:01 PM, Kevin Darcy wrote: >> On 10/12/2011 1:21 PM, Martin McCormick wrote: >>> Many years ago, various flavors of unix began distributing a >>> utility called host which did almost the same thing as nslookup. >>> Host is what I use most of

RE: host versus nslookup

2011-10-12 Thread Lightner, Jeff
So hitting yourself in the head with a shovel is better? :p -Original Message- From: bind-users-bounces+jlightner=water@lists.isc.org [mailto:bind-users-bounces+jlightner=water@lists.isc.org] On Behalf Of David Miller Sent: Wednesday, October 12, 2011 4:08 PM To: bind-users@

Re: host versus nslookup

2011-10-12 Thread David Miller
On 10/12/2011 3:01 PM, Kevin Darcy wrote: On 10/12/2011 1:21 PM, Martin McCormick wrote: Many years ago, various flavors of unix began distributing a utility called host which did almost the same thing as nslookup. Host is what I use most of the time, now, and I actually thought that nslookup on

Re: host versus nslookup

2011-10-12 Thread Kevin Darcy
On 10/12/2011 1:21 PM, Martin McCormick wrote: Many years ago, various flavors of unix began distributing a utility called host which did almost the same thing as nslookup. Host is what I use most of the time, now, and I actually thought that nslookup on unix systems was maybe going away.

Re: host versus nslookup

2011-10-12 Thread WBrown
Martin wrote on 10/12/2011 01:21:45 PM: >Other than a different output format, what are the > advantages of having both host and nslookup. host is four characters shorter. Confidentiality Notice: This electronic message and any attachments may contain confidential or privileged informati

RE: host versus nslookup

2011-10-12 Thread Lightner, Jeff
One thing that is different about nslookup on HP-UX (which doesn't have host) is that it actually respects nsswitch.conf so will give you results from /etc/hosts OR from name services whereas most implementations only do it from name services. Nslookup is "deprecated" meaning you should use hos

host versus nslookup

2011-10-12 Thread Martin McCormick
Many years ago, various flavors of unix began distributing a utility called host which did almost the same thing as nslookup. Host is what I use most of the time, now, and I actually thought that nslookup on unix systems was maybe going away. A coworker recently asked me about nslookup on

Re: CNAME record for the root of the domain

2011-10-12 Thread Jan-Piet Mens
> >What have you tried so far? > @ IN CNAME linuxsystems.it. No CNAME and other data [1]. You have an SOA and NS at the apex, so a CNAME isn't allowed. -JP [1] Until you start with DNSSEC :) ___ Please visit https://lists.isc.org/ma

Re: CNAME record for the root of the domain

2011-10-12 Thread Niccolò Belli
Il 12/10/2011 18:18, Rick Dicaire ha scritto: What have you tried so far? @ IN CNAME linuxsystems.it. ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lis

Re: CNAME record for the root of the domain

2011-10-12 Thread H. Peter Anvin
On 10/12/2011 09:20 AM, Paul Wouters wrote: > On Wed, 12 Oct 2011, Niccolò Belli wrote: > >> Subject: CNAME record for the root of the domain >> >> How to set it? >> I know there is a workaround, but I hadn't been able to make it work... >> I use bind 9.7.3. > > Perhaps you mean DNAME? > How wi

Re: CNAME record for the root of the domain

2011-10-12 Thread Paul Wouters
On Wed, 12 Oct 2011, Niccolò Belli wrote: Subject: CNAME record for the root of the domain How to set it? I know there is a workaround, but I hadn't been able to make it work... I use bind 9.7.3. Perhaps you mean DNAME? http://www.ietf.org/rfc/rfc2672.txt http://www.informit.com/articles/ar

Re: CNAME record for the root of the domain

2011-10-12 Thread Rick Dicaire
2011/10/12 Niccolò Belli : > How to set it? > I know there is a workaround, but I hadn't been able to make it work... What have you tried so far? -- aRDy Music and Rick Dicaire present: http://www.ardynet.com http://www.ardynet.com:9000/ardymusic.ogg.m3u

CNAME record for the root of the domain

2011-10-12 Thread Niccolò Belli
How to set it? I know there is a workaround, but I hadn't been able to make it work... I use bind 9.7.3. Thanks, Niccolò ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-user