MX on a sub-domain ??
#1
is it possible to set MX for a sub-domain to be different from the domain itself
ie a domain called mydomain.com might have the following mx
@ IN MX 10 mail.mydomain.com.
@ IN MX 20 spare.mydomain.com.
is it possible to change mx for a subdomain using $ORIGIN ? i know you can change www from this ie
$ORIGIN subdomain.mydomain.com.
www IN A 123.123.123.123
(this would set all www traffic to the specified IP)
but i have tried adding MX in the $ORIGIN but it didnt work
return mail error came back as "ERROR 550 Host unknown (Name server: subdomain.mydomain.com: host not found)
note (all domain names renamed to protect the innocent )
[Edited by Denzil_Dog - 2/19/2003 1:46:59 PM]
ie a domain called mydomain.com might have the following mx
@ IN MX 10 mail.mydomain.com.
@ IN MX 20 spare.mydomain.com.
is it possible to change mx for a subdomain using $ORIGIN ? i know you can change www from this ie
$ORIGIN subdomain.mydomain.com.
www IN A 123.123.123.123
(this would set all www traffic to the specified IP)
but i have tried adding MX in the $ORIGIN but it didnt work
return mail error came back as "ERROR 550 Host unknown (Name server: subdomain.mydomain.com: host not found)
note (all domain names renamed to protect the innocent )
[Edited by Denzil_Dog - 2/19/2003 1:46:59 PM]
#2
Scooby Regular
It is possible to do as you say with the $ORGIN control statement.
Silly question.....is there an A record for the Mailservers in the correct domain ?
Jeff
Silly question.....is there an A record for the Mailservers in the correct domain ?
Jeff
#3
Scooby Regular
Join Date: Dec 2001
Location: Arborfield, Berkshire
Posts: 12,387
Likes: 0
Received 0 Likes
on
0 Posts
Why not:-
mydomain.com. MX 10 mail.mydomain.com.
MX 20 spare.mydomain.com.
subdomain MX 10 mail2.mydomain.com.
MX 20 spare2.mydomain.com.
As Jeff says, you need a valid A record within the zone for each MX record used unless you are using MX records from another domain e.g. mail.otherdomain.com
Simon
mydomain.com. MX 10 mail.mydomain.com.
MX 20 spare.mydomain.com.
subdomain MX 10 mail2.mydomain.com.
MX 20 spare2.mydomain.com.
As Jeff says, you need a valid A record within the zone for each MX record used unless you are using MX records from another domain e.g. mail.otherdomain.com
Simon
#4
This will probably look awful...
$ORIGIN dev.
@ IN SOA ns0.dev. root.dev. (
2003022001 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ns0
IN NS ns1
IN MX 5 excalibur
$ORIGIN legalex.dev.
@ IN MX 5 excalibur.dev.
urgh...
[Edited by Andrewza - 2/20/2003 12:10:03 PM]
$ORIGIN dev.
@ IN SOA ns0.dev. root.dev. (
2003022001 ; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ns0
IN NS ns1
IN MX 5 excalibur
$ORIGIN legalex.dev.
@ IN MX 5 excalibur.dev.
urgh...
[Edited by Andrewza - 2/20/2003 12:10:03 PM]
Thread
Thread Starter
Forum
Replies
Last Post