PDA

View Full Version : CNAME error


jdjurici
23rd March 2006, 12:55
Hi there, my first thread ;)

I found a strange CNAME error when adding it with a DNS manager.

If I remember correctly and I do (cause I'm a system engineer for some time now) when you add CNAME it should look like this in table:

example IN CNAME some-A-record

but when adding it via DNS manager it looks like this
example IN CNAME some-A-record.

:confused:

because of that dot at the end the cnaming doesn't work, any hints anyone, I really don't want to mannualy edit the tables aging - I have more then 50 domains to edit, and they have a lot of CNAME-s whic become frustrating cause everytime I edit anything in this zone every CNAME record get's a dot at the end.

Thank you in advance, Josip

and I'm using ISPconfig 2.2.0

MathieuMa
23rd March 2006, 13:26
A cname should be done that way (in the bind conf file) - for example for the domain domain.com

www IN CNAME domain.com.
subdomain IN CNAME domain.com.
another IN CNAME www.domain.com.

ISPconfig adds the dot automatically at the end of a FQDN.

jdjurici
23rd March 2006, 13:47
you see that applies for full naming,
but if you do it like this:
ftp IN CNAME server1
and not like this:
ftp.domain.com. IN CNAME server1.domain.com.

then the dot is not allowed at the end of a file...

Can you agree with that?:confused:

falko
23rd March 2006, 18:33
You must use FQDNs (e.g. server1.example.com instead of server1).

jdjurici
24th March 2006, 09:50
thank you falko....

I hope they will add this posibility soon because I really don't like to go trough 50 domains rewriting it all again....

but thanks for it...