[PLUG] DNS for Dummies question

m at pdxlug.org m at pdxlug.org
Mon May 12 11:53:01 UTC 2003


What's the proper way to add an MX record for a subdomain?

For example:

$ttl 2D
;
@       IN      SOA     ns1.mydomain.com. hostmaster.mydomain.com. (
                2003051201      ; Serial
                21600           ; Refresh 6 hours
                900             ; Retry 15 minutes
                3600000         ; Expire
                43200           ; Default 12 hours
)

                        IN      NS      ns1.mydomain.com.
                        IN      NS      ns2.mydomain.com.

                        IN      MX      10 mail.mydomain.com.
sub1                    IN      MX      10 mail2.mydomain.com.

                        IN      A       10.10.10.1
sub1                    IN      A       10.10.10.2
sub2                    IN      A       10.10.10.3
mail                    IN      A       10.10.10.4



This, unfortunately, seems to break everything that follows the MX record
for sub1.  Do I have the syntax wrong?
Thanks,
~M




More information about the PLUG mailing list