MX Record on a wildcard zone

Pete Ehlke pde at ehlke.net
Fri Jul 12 13:34:26 UTC 2002


On Fri, Jul 12, 2002 at 09:16:06AM -0400, Warrick FitzGerald wrote:
> 
> Hi All,
> 
> I'm setting up a test lab in which I need to send any .com resolution to get
> to a specific web server. - This works great with the setup below.
> 
> However I'm trying to add an MX record that resolves any .com mail to
> another server 10.10.52.114 in this case. Can someone please tell me why
> this simple config below does not work, and how I could achieve this ?
> 
[snip]

> [root at TESTLINUX named]# cat com
> $TTL 1d
> @       IN      SOA     localhost. root.localhost.  (
>                                       2002071201 ; Serial
>                                       28800      ; Refresh
>                                       14400      ; Retry
>                                       3600000    ; Expire
>                                       86400 )    ; Minimum
>               IN      NS      localhost.
> com.          IN      MX      10 mail
> 
> *       IN      A     10.10.52.100
> mail    IN      A     10.10.52.114
> 

You've only defined an mx record for com. A.com. != com.

If you really want a wildcard MX, you have to explicitly define one.

-Pete


More information about the bind-users mailing list