문제

How to use nslookup command to check email domains in fedora Linux? I used the following command in terminal:

nslookup -query=mx com3263@dcs.ruh.ac.lk

This is not working for me. What's the correct command?

도움이 되었습니까?

해결책

You can query for the domain part, not the full email address.

nslookup -query=mx dcs.ruh.ac.lk

For programmatic use, dig +short or some versions of host have better, machine-readable output than nslookup.

Not all domains supply an explicit MX record; fall back to the A record in that case (i.e. attempt to connect directly to the host).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top