Re: Digging to the final IP

2014-10-20 Thread Josh Kuo
If all you are after is one of the final IP addresses (not the entire set), then using a "dumb" client might be easier. For instance, 'ping'. $ ping -q -c1 www.google.com PING www.google.com (203.66.155.113): 56 data bytes If you want to get more than one IP address, then you'll need an intel

RE: Digging to the final IP

2014-10-20 Thread Frank Bulk (iname.com)
We’re using this in a bash shell script. I don’t think there’s a native shell command to get the IP, so I’ll use a mixture of host and dig as necessary. Thanks, Frank From: Fajar A. Nugraha [mailto:w...@fajar.net] Sent: Sunday, October 19, 2014 11:04 PM To: Frank Bulk Cc: comp-protoc

Re: Digging to the final IP

2014-10-20 Thread Phil Mayers
On 20/10/14 14:22, Frank Bulk (iname.com) wrote: We’re using this in a bash shell script. I don’t think there’s a native shell command to get the IP, so I’ll use a mixture of host and dig as necessary. If your system has it, try "getent" e.g. getent ahosts hostname ___

RE: BIND resource requirements

2014-10-20 Thread Mike Bernhardt
Anyone have some input on this? No one has commented so far. -Original Message- From: Mike Bernhardt [mailto:bernha...@bart.gov] Sent: Tuesday, October 14, 2014 11:59 AM To: bind-users@lists.isc.org Subject: BIND resource requirements We are currently using 9.8. We have had it on the rad

Re: BIND resource requirements

2014-10-20 Thread Doug Barton
On 10/20/14 11:50 AM, Mike Bernhardt wrote: Anyone have some input on this? No one has commented so far. -Original Message- From: Mike Bernhardt [mailto:bernha...@bart.gov] Sent: Tuesday, October 14, 2014 11:59 AM To: bind-users@lists.isc.org Subject: BIND resource requirements We are c

Re: Digging to the final IP

2014-10-20 Thread Mark Andrews
Why do we need to have a option to dig to massage the results into every possible different form? 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-20 Thread Frank Bulk
That feature runs on our system, but it doesn't digging through to a final IP or failure: getent ahosts mail.automatedwastesystems.net returns nothing. Regards, Frank -Original Message- From: bind-users-boun...@lists.isc.org [mailto:bind-users-boun...@lists.isc.org] On Behalf Of