Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm confused by your question actually? You want them to see both MX records? That's by default really. Clearly from what you've provided, you have a primary MX host and the secondary if the first one is unreachable. Your secondary MX host should be configured to hold email until the first one is available again.
I'm confused by your question actually? You want them to see both MX records? That's by default really. Clearly from what you've provided, you have a primary MX host and the secondary if the first one is unreachable. Your secondary MX host should be configured to hold email until the first one is available again.
Sorry for being confusing. I'm testing a new sub-domain with a new MX record. But there seems to be no way to tell Bind to point to the new MX record (it is still pointing to the old one). ie. if I try "host -t mx <whatever>.domain.com", it points to my old mx.
Do you know why this is happening and how to change that?
Not sure if this would help but following is a part of my domain.com file
Code:
$origin domain.com.
@ ns ns1.domain.com.
ns ns2.domain.com.
mx 10 jafar.domain.com.
mx 20 yoda.domain.com.
;
staff mx 10 jafar.domain.com.
mx 20 yoda.domain.com.
* mx 10 jafar.domain.com.
* mx 20 yoda.domain.com.
The following is added by me
mx1 a 203.10.77.192
mx2 a 203.10.77.183
sandbox1.test a 203.10.77.98
sandbox2.test a 203.10.77.95
test.domain.com mx 10 mx1.domain.com.
test.domain.com mx 20 mx2.domain.com.
If I do "host -t mx test.domain.com" it's still pointing to jafar.domain.com. and yoda.domain.com. And, yes, I have update the DNS serial and restarted bind.
This would indicate that all mail for the current ORIGIN (domain.com in this case) would be MX'd to jafar and yoda. * is the anything wildcard.
Thanks for your suggestions. Is there any way I can get my new MX's to test my sandbox without changing the *'s? I want to leave the *'s the way they are.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.