[Peeweelinux] resolve a domain name

Christopher Bergeron [email protected]
Wed, 10 Sep 2003 16:45:52 -0400


There's a binary package called "dig" or "nslookup" that you can use:

"dig domain.name" will return the ip address in the ANSWER line
"dig -x ip.add.res.ss" will return the domain name

You can also use nslookup, but it's deprecated.


-CB




Barry Gershenfeld wrote:

>What is the simplest way to resolve a domain name to an IP address?
>Seems you can get someone else's dns server to do the work for
>you so there should be little for the embedded system to do.  I 
>didn't really want to install bind or similar especially
>if it's big.  But I didn't even find anything called bind
>or 'named' in a package search.
>
>Seems to me you guys building web browser kiosks would know
>something about this.
>
>Barry
>
>
>_______________________________________________
>Peeweelinux mailing list
>[email protected]
>http://mail.adis.on.ca/lists/listinfo/peeweelinux
>
>
>  
>