On Tue, 7 Nov 2000, Jonathan Wilson wrote:

> I think I've asked this before but I can't remember the answer:
> 
> Aren't there commands that look up MX records, in a similar fashion to whois and 
>nslookup?
> 

Either...

        nslookup -query=mx domain.name

... and look for lines like...

domain.name   preference = 20, mail exchanger = mail2.domain.name
domain.name   preference = 10, mail exchanger = mail.domain.name

... or ...

        dig mx domain.name

... and look for lines like...

;; ANSWER SECTION:
domain.name.         1H IN MX        10 mail.domain.name.
domain.name.         1H IN MX        20 mail2.domain.name.

... where the lowest preference is the primary.

M.

-- 
WebCentral Pty Ltd              Australia's #1 Internet Web Hosting Company
Level 1, 96 Lytton Road.
PO Box 4169, East Brisbane.                          phone: +61 7 3249 2583
Queensland, Australia.                               pgp key id: 0x900E515F




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to