Re: Which Format for the hosts File is Correct?

From: Julian Bradfield (jcb_at_inf.ed.ac.uk)
Date: 12/06/04

  • Next message: Jeffrey Bird: "Re: Copy files without changing ownership and permissions"
    Date: Mon, 6 Dec 2004 21:52:01 +0000 (UTC)
    
    

    In article <slrncr91uj.gve.sybrenUSE@sybren.thirdtower.com>,
    Sybren Stuvel <sybrenUSE@YOURthirdtower.com.imagination> wrote:
    >HansF enlightened us with:
    >> ... and I still do not see any place that states that a canonical
    >> host name is the same as a FQDN. (It's not even in RFC 952, from
    >> what I can tell.)
    >
    >My dictionary describes "canonical" as "The usual or standard state or
    >manner of something." I think in this case it means FQDN and
    >"canonical host name" can be interpreted as the same.

    I do not agree. It seems obvious to me that canonical host name is being
    contrasted with aliases. Remember, the hosts file predates the domain system.

    For example, the following could be (but is not, since I rely on dns)
    in my hosts file:

    80.68.88.235 bytemark.stevens-bradfield.com www.stevens-bradfield.com

    Both FQDNs, but one canonical (and stored in an A record in the DNS),
    one an alias (and stored in a CNAME record in the DNS - and what is a
    CNAME record? It's a record that tells you the Canonical NAME for an alias.)

    On the other hand, in an internal network without DNS, you can still have
    both canonical names and aliases, without an FQDN in sight because the concept
    doesn't exist.

    The practical effect is that the canonical name is the hostname returned
    by an address -> hostname lookup via the hosts file.


  • Next message: Jeffrey Bird: "Re: Copy files without changing ownership and permissions"

    Relevant Pages

    • Re: FE to BE emails are Queued
      ... Put that host into your Internal DNS replacing your Hosts file with internal IP, that have to fix it without touching your hosts file that some antivirus could detect as virus/worm attack and could be really painful fighting with your AV and Exchange. ... if your External FQDN of your FE is different from your internal FQDN, create a new primary zone to match the external name, it won't affect you if you do it good... ... server the mail flows without a problem. ...
      (microsoft.public.exchange.connectivity)
    • Re: Cant view website I host
      ... Are you running a DNS server on that box? ... a FQDN would be www.etc.com. ... add the www.mywebsite.com and mywebsite.net to the hosts file on your ...
      (microsoft.public.windows.server.general)
    • Companyweb no accessable
      ... my companyweb doesn't appear for users when they type it in the ... This is obveously a DNS issue. ... The DNS has a CNAME record and seems okay, I tried adding a A host record ... but without the hosts file maunally being amended on all PC's clients can't ...
      (microsoft.public.backoffice.smallbiz2000)
    • Re: Internal Web Clients Unable to Access Company Web Site
      ... Yes, remove the ISP's DNS, the only place to use your ISP's DNS is as a ... forwarder for the DNS server. ... the public zone has a Cname record for ... I'm not sure why you are using the HOSTS file for names that are or should ...
      (microsoft.public.win2000.dns)
    • Re: Entering external URLs
      ... I had assumed I could add a FQDN to the DNS (in ... the same way you can with the HOSTS file) and ... Create two new Forward Lookup zones, one for each name, www.niknet.co.uk and www.devnet.org, in each of these zones create one host record, leave the name field blank, and give each the IP address of the web server. ...
      (microsoft.public.win2000.dns)