Re: [SLUG] Which site is just a pointer?

From: R.G. Mayhue (rmayhue@tampabay.rr.com)
Date: Thu Aug 06 2009 - 15:30:21 EDT


On Thursday 06 August 2009 3:10:13 pm Paul M Foster wrote:
>
> I've got two sites a customer set up, one of which is where their web
> content actually is, and one merely "points" to the other. I'd like to
> find out which site is the "real" one. There's a command to query the
> DNS records, which will tell which is which. But I can't remember the
> command. Anyone know?
>
> Paul
>
>

The 'host' command should tell you if its a CNAME.

~$ host example.com.
example.com is an alias for example.net.
example.net has address xx.xx.xx.xx

-- Rob
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:22:31 EDT