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
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
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
___
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
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
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 }
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
7 matches
Mail list logo