DNS/BIND canonical name puzzle

Kevin O'Gorman kevin
Mon May 17 11:57:32 PDT 2004


I've got a small domain that has all my machines, and it's working
okay but I can't seem to do some of the things that I want.
This mostly surrounds the resource records for the main machine,
treat.kosmanor.com.

The database file contains these records right now (among others):
kosmanor.com.	IN	SOA	treat.kosmanor.com. kogorman.pacbell.net. (
			200312030
			900
			7200
			14400
			1800 )
kosmanor.com.	IN	NS	treat.kosmanor.com.
treat.kosmanor.com.	IN	A	64.166.164.49
kosmanor.com.		IN	A	64.166.164.49

This works okay, but I've been thinking to make just one of these
names the canonical name.  It fails when I try.

It seems to me it would be best if "kosmanor.com" were the
canonical name, because that's what goes in return addresses and
such, and I use some services that are very picky about where
the mail comes from.  However, if I change these lines to

kosmanor.com.	IN	SOA	kosmanor.com. kogorman.pacbell.net. (
			200312031
			900
			7200
			14400
			1800 )
kosmanor.com.		IN	NS	kosmanor.com.
kosmanor.com.		IN	A	64.166.164.49
treat.kosmanor.com.	IN	CNAME	kosmanor.com.


Now, the nameservers cannot resolve any of the names in this domain.


This seems like it should work, but it doesn't.  Any clues?

++ kevin


-- 
Dr. Kevin O'Gorman  (805) 756-2986  mailto:kogorman at calpoly.edu
Home Page: http://www.csc.calpoly.edu/~kogorman



More information about the Linux-users mailing list