Re: [exim] Turning host names into IP addresses

Etusivu
Poista viesti
Vastaa
Lähettäjä: Marc Sherman
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Turning host names into IP addresses
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