Catch All Server - Null MX Setup

Kevin Darcy kcd at daimlerchrysler.com
Fri Sep 30 21:27:39 UTC 2005


WiNNie wrote:

>Hi,
>
>I have a catch-all Bind Name Server setup and would like to either stop
>all MX lookups, not respond to them, or impliment another method of
>minimizing their effect on my Name Server:
>
>$TTL    86400
>.       IN      SOA     ns2.domain. (
>                        45
>                        28800
>                        14400
>                        3600000
>                        86400 )
>        IN      NS      ns2.domain.
>*       IN      A       1,2,3,4
>
Are those *commas* in your IP address?

>Any suggestions welcome. And is there any negative effect of adding in
>the MX records to point to 127.0.0.1?
>
Well, MX records don't point directly to IP addresses, but in this 
particular case, it wouldn't really matter if you had the MX record 
point to the *name* "127.0.0.1" (i.e. under the "0" subdomain of the "1" 
top-level domain), since you're resolving all names anyway. If you want 
the MX target to resolve to the *address* 127.0.0.1, then you'll need to 
add an A record somewhere that resolves to that address, and then point 
the wildcard MX at that name.

                                                                         
                           - Kevin




More information about the bind-users mailing list