Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm on the verge of shifting hosts for my domain. I'm going to be maintaining my own DNS and mailserver.
Anyway, I haven't made any changes at my domain registrar yet. Before I do, I need to make sure that the new MX record on the DNS I'm going to maintain works right. So this is what I did:
From a linux box running sendmail, made the only nameserver available in resolv.conf as the one I'm going to use for my domain. Then I used the command
well, the mail still goes to the old mailserver - any idea why? The nameserver I'm using in resolv.conf reports itself as the SOA for my domain, with the MX record pointing to the new mailserver I intend to use. Any ideas??
Thanks
Last edited by branden_burger; 03-20-2005 at 01:25 PM.
the ms dig returns the correct A and mx records for the Mail eXchanger.
and nscd isn't running on either the linux box at my lab or the DNS on trhe internet..
so why are the root servers being queried?? That's the only way that sendmail on my local box would be able to send mail to the old hosting provider..
if I goto dnsreport.com, it and test the domain to be shifted - well, I get the same things as my own digs there - the mx section for my domain turns out to be just fine!!
If you look at the message headers of the message that ended up on the production box does it show the message being received by the new box? Maybe the new box just received it and relayed it to the production box.
well, when I asked sendmail to do relaying through the mail exchanger I WANT mail to go to - mail went fine to the domain I want to test for!! But when I stop the relaying and say send mail directly in sendmail.mc, the trouble starts again..
And yes - I think that maybe the DNS cache on the nameservers I'm using need to be flushed - yes, I am using bind 9.
Well yeah, I don't know what happened - but the SAME setup which wasn't working is working now - I guess it was a matter of the BIND cache being updated after a while on the test host.
thanks people!!
Now mail is being delivered to the right mailserver using the DNS which is SOA for that domain.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.