MX Record on a wildcard zone

David Botham dns at botham.net
Fri Jul 12 18:49:01 UTC 2002


I am not even going to ask why you would want to do this, but... see
below

> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
> Behalf Of Warrick FitzGerald
> Sent: Friday, July 12, 2002 9:16 AM
> To: Bind Users
> Subject: MX Record on a wildcard zone
> 
> 
> 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 ?
> 
>  dig @10.10.52.119 A.com MX
> 
> and
> 
>  dig @10.10.52.119 B.com MX
> 
> Should both resolve to 10.10.52.114 (Where 10.10.52.119 is the address
of
> my
> test Bind machine of course).
> 
> Thanks
> Warrick FitzGerald
> 
> [root at TESTLINUX etc]# cat named.conf
> ....SNIP.....
> zone "com" {
>         type master;
>         file "com";
> };
> 
> --------------------
> 
> [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
Should be:
*.com.		IN	MX 10		mail


> 
> *       IN      A     10.10.52.100
> mail    IN      A     10.10.52.114
> 
> --
> 
> 




More information about the bind-users mailing list