dns-query

dns-query is a compiled Lisp function in `dns.el'.

(dns-query NAME &optional TYPE FULLP REVERSEP)

Query a DNS server for NAME of TYPE.
If FULLP, return the entire record returned.
If REVERSEP, look up an IP address.