Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Will any one tell me the option to find out the CNAME of a domain?
i can find out the MX of a domain using
host -tMX domain.com?
How can i find out the CNAME using host command?
no, you don't ask for the CNAME record from a name server. i guess that the equivalent use of asking for the CNAME's would be to ask which other domains are CNAME's to the A record, which you can't, and wouldn't do. A CNAME is a stepping stone to an A record. maybe some context on what you wish to acheive by this...?
"host -tCNAME domain" It did not work.
Chris,
Thank you for your feed. But i can't understand what you wrote. Please repeat it with a lower version of English.(Sorry, my mother tongue is not English, and am learning).
oh..ho.
I am just asking for knowledge. Actually today my friend (who is a website reseller) ask me this. He is having his own DNS for his sites, but for mail he is using google servers as MX.so he asked me to check it. When i came across one by one...
host -tNS domain
host -tMX domain
host -tCNAME domain .....???/?
well its' the wrong kind of record. the way you are asking doesn't make sense. you DO want to know what the MX record is for a site, but you DON'T want to know what the CNAME's associated with it are. it's not useful information in itself.
Yes i have less knowledge on CNAME records..
Ok.. chris will you please tell me the way to find out the CNAME by some other commands too, other than host. I just want to learn it.
well you just don't find out the cname. you can find out that the DNS entry you are querying IS a CNAME, but you don't ask google.com what it's CNAME's are in the same way you'd ask what it's MX records are. it's not like that.
You mean i must not query like this
"host -tNS domain
host -tMX domain
host -tCNAME domain .....???/?"
CNAME is entirely different from NS,MX????(IS it like that?)
you CAN do that, but it doesn't really tell you anything useful. the fact that a dns domain name is a CNAME is not "interesting", but MX and NS records are extremely important and work in very different ways.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.