On Sat, Feb 14, 2009 at 10:12:40PM -0800, Marc Perkel wrote:
> Dave Funk wrote:
> >On Sat, 14 Feb 2009, Marc Perkel wrote:
> >>I should be more specific. I asked the question wrong.
> >>
> >>*.example.com blackhole.example.com
> >>
> >>What I need is that any subdomain point to blackhole.
> >
> >Then replace 'xxx' with '*'. EG:
> >
> >Briefly, in the zone file for example.com:
> >
> >@    MX    10   mail.example.com.
> >*    MX    10   blackhole.example.com.
> >
> >Yes, it -is- that simple. ;)
> >Not recommended for normal use but if you understand the risks involved,
> >it does work that way.
> >
> 
> It didn't work - but this might be related. I have this in there as 
> wellso that all A record subdirs resolve to the same IP.
> 
> mail            IN      CNAME   mail.ctyme.com.
> mailman         IN      CNAME   mailman.ctyme.com.
> mailman.mailman IN      CNAME   mailman.ctyme.com.
> ssh             IN      A       65.49.42.101
> ftp             IN      A       65.49.42.101
> www             IN      A       65.49.42.100
> *               IN      CNAME   @

There you are. That last line is messing you up.


Guessing what you might want to do:

;in zone file for churchofreality.com

@               IN      MX 10  mail.ctyme.com.

mail            IN      CNAME   mail.ctyme.com.
mailman         IN      CNAME   mailman.ctyme.com.
mailman.mailman IN      CNAME   mailman.ctyme.com.
ssh             IN      A       65.49.42.101
                IN      MX 10   blackhole.ctyme.com.
ftp             IN      A       65.49.42.101
                IN      MX 10   blackhole.ctyme.com.
www             IN      A       65.49.42.100
                IN      MX 10   mail.ctyme.com.

*               IN      MX 10   blackhole.ctyme.com.

None of mail mailman mailman.mailman or blackhole should be CNAMES in
the ctyme.com zone file.

Mail to churchofreality.com or mail.churchofreality.com deliver at
mail.ctyme.com, but mail.churchofreality.com inherits address and mxes
(and spf and ...) from mail.ctyme.com whereas churchofreality.com only
receives this mx. Mail servers may rewrite mail.churchofreality.com
into mail.ctyme.com as "more canonical."

Mail to ssh or ftp would try to deliver to 65.49.42.101, and www to
.100 unless you assign them MX'es. The wildcard won't apply.

-- 
  lun...@fini.net
"Never eat singing food."

Reply via email to