Wildcard MX not working correctly

Alan Williamson alan at blog-city.com
Mon May 29 14:08:19 UTC 2006


Good people of the DNS world, i am having fun with wildcard MX.

I am trying to have all my second level domains to be sent to a single
mail host. So things like:

   a.mydomain.com
   b.mydomain.com

to all go to the same MX host.  However i am failing to get this to
work.  I am running Bind9.3.1 on Fedora4.

I have this in my ZONE file:

mydomain.org.          IN      MX 10 mail.mydomain.com.
list.mydomain.org.     IN      MX 10 list.mydomain.org.
*.mydomain.        IN      MX 10 email.mydomain.org.

which according to all the howto's is how it should be; unless i am
misreading something.  But when i test this configuration using
http://www.dnsstuff.com/ it tells me it can't find an MX record for
"a.mydomain.com".  All the other MX records are resolved correctly.

What am i missing?  Many thanks.



More information about the bind-users mailing list