Re: Digging to the final IP

2014-10-24 Thread John Wobus
On Oct 21, 2014, at 4:00 PM, Evan Hunt wrote: On Tue, Oct 21, 2014 at 12:07:15PM -0700, Warren Kumari wrote: dig A $name | awk '$0 ~ /status/ && $0 !~ /status: NOERROR,/ { sub(",", "", $6 ); print $6; x=1 } $4 == "A" { print $5; x=1 }

Re: Digging to the final IP

2014-10-24 Thread Doug Barton
It's interesting to see the discussion about trying to turn dig into something it isn't. :) It's a really good DNS diagnostic tool, but if you just want to get the answer for a query, host does the job quite well, with a lot less fuss. Doug ___ Ple

Re: DLV verify issue

2014-10-24 Thread Doug Barton
On 10/23/14 4:34 AM, Péter-Zoltán Keresztes wrote: Hello I am trying to add a dnssec signed tomain to DLV isc. Is there a DNSSEC path from this domain up to the root zone? (It would be helpful to list what domain it is.) If so, why are you adding it to DLV? Doug __

Re: Digging to the final IP

2014-10-24 Thread Doug Barton
On 10/21/14 8:31 PM, Frank Bulk wrote: Dave, Thanks for the input, but what I was looking for was a dig command that returns the IP(s) or a fail. It looks like the host command is the right solution in this case, not dig. Yep. :) You can check the return value of the call to get your fail as