CNAME problem
Joseph S D Yao
jsdy at cospo.osis.gov
Tue Jun 22 18:02:24 UTC 1999
> I'd like to replace the current DNS with the Linux box. For the
> migration, I was thinking of creating legal A entries, using hyphens
> instead of underscores. Then create the underscored hosts as CNAME
> entries pointing back to the A entries for backward compatibility.
> Once the server names are changed to legal hostnames, then I would
> phase out the CNAME entries.
>
> Sample:
>
> ; host
> server-1 IN A 192.168.x.x
> ; alias
> server_1 IN A server-1
^ Wrong.
Did you mean:
server_1 IN CNAME server-1
?
> I'm not sure what I'm doing wrong. I've tried using the full
> canonical name for both the alias and translated host for the CNAME
> entry, to no avail. I've tried setting the "check-names warn" under
> the zone entry for my domain in /etc/named.conf, and I do get an pass
> entry like so in the log:
>
> "owner name "server_1.<domain>.com" IN (primary) is invalid -
> proceeding anyway"
You have the right idea. You can also turn them off with "ignore"
instead of "warn". You need to add this to ALL zones; OR you can put
into the options{} statement:
check-names master ignore;
--
Joe Yao jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.
More information about the bind-users
mailing list