Re: nslookup oddities (Was: SRV record not working)

2018-08-20 Thread Doug Barton
On 08/20/2018 10:14 AM, Lee wrote: On 8/19/18, Mark Andrews wrote: nslookup applies the search list by default and doesn’t stop on a NODATA response. Some versions of nslookup have been modified by OS vendors to use /etc/hosts for address lookups. nslookup doesn’t display the entire response

Re: nslookup oddities (Was: SRV record not working)

2018-08-20 Thread Tony Finch
Lee wrote: > > So... it seems like the bottom line is that dig is better but nslookup > ain't all that bad Be careful though, all bets are off if you find yourself using something that claims to be nslookup but which isn't the BIND9 version. Tony. -- f.anthony.n.finchhttp://dotat.at/ North

Re: nslookup oddities (Was: SRV record not working)

2018-08-20 Thread Lee
On 8/19/18, Mark Andrews wrote: > nslookup applies the search list by default and doesn’t stop on a NODATA > response. > > Some versions of nslookup have been modified by OS vendors to use /etc/hosts > for address lookups. > > nslookup doesn’t display the entire response by default. I learned

Re: nslookup oddities (Was: SRV record not working)

2018-08-19 Thread Doug Barton
And don't forget NIS, and NSSwitch. And don't get me started on the tricks that the windows resolver plays. On 08/19/2018 07:59 PM, Mark Andrews wrote: nslookup applies the search list by default and doesn’t stop on a NODATA response. Some versions of nslookup have been modified by OS

Re: nslookup oddities (Was: SRV record not working)

2018-08-19 Thread Mark Andrews
nslookup applies the search list by default and doesn’t stop on a NODATA response. Some versions of nslookup have been modified by OS vendors to use /etc/hosts for address lookups. nslookup doesn’t display the entire response by default. > On 20 Aug 2018, at 12:28 pm, Lee wrote: > > On

Re: nslookup oddities (Was: SRV record not working)

2018-08-19 Thread Lee
On 8/19/18, Doug Barton wrote: > On 08/19/2018 12:11 PM, Lee wrote: >> On 8/18/18, Doug Barton wrote: > >>> nslookup uses the local resolver stub. That's fine, if that's what you >>> want/need to test. If you want to test specific servers, or what is >>> visible from the Internet, etc. dig is

Re: nslookup oddities (Was: SRV record not working)

2018-08-19 Thread Doug Barton
On 08/19/2018 12:11 PM, Lee wrote: On 8/18/18, Doug Barton wrote: nslookup uses the local resolver stub. That's fine, if that's what you want/need to test. If you want to test specific servers, or what is visible from the Internet, etc. dig is the right tool, as the answers you get from