From owner-freebsd-questions@FreeBSD.ORG Fri Oct 23 17:31:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E721106566B for ; Fri, 23 Oct 2009 17:31:27 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 20A288FC19 for ; Fri, 23 Oct 2009 17:31:26 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n9NHVLaZ097830; Fri, 23 Oct 2009 18:31:21 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n9NHVLaZ097830 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1256319082; bh=xRfEDfR1Md+V98gtkFq7dDEHlDmpQn81LQeXIX1A4sc=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AE1E864.5000500@infracaninophile.co.uk>|Date:=20F ri,=2023=20Oct=202009=2018:31:16=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20Chuck=20Swiger=20|CC:=20Sean=20C avanaugh=20,=20=0D=0A=20"freebsd-questio ns@freebsd.org"=20|Subject:=20Re:=2 0DNS=20Question|References:=20<200910231717.AA243925902@mail.Go2Fr ance.com>=09=20<18641 935-9899-495F-9465-A7A10AA6A6D8@mac.com>|In-Reply-To:=20<18641935- 9899-495F-9465-A7A10AA6A6D8@mac.com>|X-Enigmail-Version:=200.95.6| Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A =20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"- -----------enig8D48B21E1AC1E1303AB038FF"; b=DmM08cL/ly4hz5XHQVNrScufT1Un+da773Ki21OQPRaYSrnXbX9GEy/8VYHnmLeCo j74lRpTEYrmG02AF2YmdLfBNwQNvWokZqeKxtixScuitjUT8H0WA+c1m9BuJnxKnXI A60vugbnpadl6hKxG0CFyg+pJEbz6PjdeqARn15o= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AE1E864.5000500@infracaninophile.co.uk> Date: Fri, 23 Oct 2009 18:31:16 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: Chuck Swiger References: <200910231717.AA243925902@mail.Go2France.com> <18641935-9899-495F-9465-A7A10AA6A6D8@mac.com> In-Reply-To: <18641935-9899-495F-9465-A7A10AA6A6D8@mac.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig8D48B21E1AC1E1303AB038FF" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: Sean Cavanaugh , "freebsd-questions@freebsd.org" Subject: Re: DNS Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2009 17:31:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8D48B21E1AC1E1303AB038FF Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Chuck Swiger wrote: > Hi-- >=20 > On Oct 23, 2009, at 9:18 AM, Sean Cavanaugh wrote: >>> worse, it's illegal. >> >> how is this illegal? if you are residing your domain on a hosting=20 >> service, this makes sense to me. Granted its bad form and should have = >> an A record to the host for the main domain record, but if i had=20 >> control over "otherdomain.com" and not "example.com" and had to change= =20 >> the IP address, "example.com" would be dead until i was able to reach = >> the owner of that domain and have them change their DNS info. >=20 > You aren't supposed to use CNAMES for anything found in other RR's; in = > particular, you should always use an A record with the hostnames used=20 > for nameservers (ie, have an NS record), because you are supposed to be= =20 > using the canonical name rather than an alias. Errr? You mean the rule that NS and MX and SRV rdata must include an A r= ecord rather than a CNAME? That's true, but what does that have to do with web= serving?=20 The illegality mentioned further upthread is that you can't use a CNAME a= t a zone apex because of the 'CNAME and other data rule'[*] -- as there's= always got to be SOA and NS records at the zone apex, if you want a web = page at 'example.com' you'ld have to provide an A or AAAA record for it. = Unless you're Verisign and have control over the nameservers for .com, t= his is almost certainly illegal: example.com. IN CNAME www.example.com On the other hand: www.example.com. IN CNAME example.com. is generally fine. > PS: It's odd where google pulls up references to fairly canonical > docs, sometimes. I'm not sure I even recognize "ua", and I suspect I > deal with two-letter ISO 3166 country names more than most folks do. > Maybe Ukraine? :-) Of course it's Ukraine. .uk was already taken, even though the two lette= r iso-code for this country is officially .gb. We're in an exclusive club = of two nations that generally don't use their official iso-code in the DNS. = No prizes for guessing which the other one is. Cheers, Matthew [*] Little known factoid, but there are two legal exceptions to the 'CNAM= E and other data' rule. You can have RRSIG or NSEC records at the same lab= el as CNAME -- see RFC 4035. Obscure DNS trivia for 100, Alex... --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig8D48B21E1AC1E1303AB038FF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkrh6GkACgkQ8Mjk52CukIx8yQCdGYh4itMoev2kFd5664OG3DJx i5MAniLVRZwSZMliDl90IyO6+EpG9No4 =qWiE -----END PGP SIGNATURE----- --------------enig8D48B21E1AC1E1303AB038FF--