Joyce, Matthew, 2002-Oct-28 18:08 +1100: > You can try to ping a host by hostname, one that is not in you hosts file. > If DNS is working ping with use and display the ip address. > > Also look at the 'nslookup' or 'dig' util.
You can also test dns with host: $ host -v www.yahoo.com Query about www.yahoo.com for record types A Trying www.yahoo.com ... Query done, 13 answers, status: no error The following answer is not authoritative: www.yahoo.com 1791 IN CNAME www.yahoo.akadns.net www.yahoo.akadns.net 151 IN A 64.58.76.230 www.yahoo.akadns.net 151 IN A 64.58.76.176 www.yahoo.akadns.net 151 IN A 64.58.76.177 www.yahoo.akadns.net 151 IN A 64.58.76.178 www.yahoo.akadns.net 151 IN A 64.58.76.179 www.yahoo.akadns.net 151 IN A 64.58.76.222 www.yahoo.akadns.net 151 IN A 64.58.76.223 www.yahoo.akadns.net 151 IN A 64.58.76.224 <etc...etc...> jc -- Jeff Coppock Systems Engineer Diggin' Debian Admin and User -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]