[olug] DNS: anyone using DNAME?

Jay Hannah jay at jays.net
Thu Feb 12 22:15:01 UTC 2009


Boo!!

We have want to forward our domain foo.com over to bar.com. But when we 
do this:

@         IN    CNAME     bar.com.
*         IN    CNAME     bar.com.

We get these errors:

Feb 12 15:51:54 royal named[911]: dns_master_load: 
master/external/foo.com:15: foo.com: CNAME and other data
Feb 12 15:51:54 royal named[911]: zone foo.com/IN/external: loading 
master file master/external/foo.com: CNAME and other data

In IRC (freenode #dns) someone suggested DNAME, but a quick Google 
showed dragons there...?

Anyone using DNAME?

Someone else with the exact same problem:
http://www.tek-tips.com/viewthread.cfm?qid=1059098&page=8

And we settled on the icky exact same solution he did:
@         IN    A         12.31.31.13
*         IN    CNAME     bar.com.

Which sucks because if bar.com moves from 12.31.31.13 to somewhere else 
foo.com is broken!

Boo!!

j


# /usr/sbin/named -v
BIND 9.3.4




More information about the OLUG mailing list