Page 1 of 1

How to find a domain's server name

Posted: Sun Apr 29, 2018 9:49 am
by Ruthie
Hi guys, I'm a Linux newbie. For checking a domain's server I usually use the ping command. But it doesn't show server name all the time. Most of the time it only shows the IP. Is there any other way to find the server name of a domain with a simple command?

Re: How to find a domain's server name

Posted: Sun Apr 29, 2018 9:50 am
by Joan N
Normally telnet to SMTP port will display the hostname of the server unless it is not disabled in the configuration.So you can use #telnet example.com 25

Re: How to find a domain's server name

Posted: Sun Apr 29, 2018 9:56 am
by Ruthie
Thanks a lot man. I really appreciate it. The command is working like a spell.

Re: How to find a domain's server name

Posted: Sun Apr 29, 2018 9:57 am
by Joan N
No mention. For a quick response you can also use #telnet example.com 587.

Re: How to find a domain's server name

Posted: Sun Apr 29, 2018 10:03 am
by Ruthie
yes, it gives a quick response. Thanks.