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 Phil Mayers
Sent: Monday, October 20, 2014 8:39 AM
To: bind-users@lists.isc.org
Subject: Re: Digging to the final IP

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
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to
unsubscribe from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to