Re: [exim] Turning host names into IP addresses

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Perkel
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Turning host names into IP addresses
That's exactly what I needed - thanks.

Marc Sherman wrote:

> Marc Perkel wrote:
>
>> If I have a file with a list of host names and I want to turn that
>> into a file with a list of IP addresses for those host names, what's
>> the easiest way to do that?
>>
>
> Untested:
>
> cat HOSTFILE | xargs dig +short > IPFILE
>
> - Marc
>


--
Marc Perkel - marc@???

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com