Out of the blue over the weekend, something strange has happened to my email server at work, as it suddenly stopped receiving emails. This has nothing to do with the server, but more to the fact that my mail.mydomain.com was being ignored.
Ping tests to mail.mydomain.com stopped working, although other.mydomain.com continued to work fine.
I've spent three hours on the phone to my ISP (BT) about it, and they couldn't help, except to find that it wasn't their fault.
As a workaround, I've used the 'other' A record (within my domain name DNS settings) to do what I need it to do (including adjusting my MX record accordingly), but despite deleting and re-adding the 'mail' A record, the mail.mydomain.com simply will not ping correctly, whereas other.mydomain.com will (both end up at the same machine on my network).
The TTL on the DNS settings for the domain name is 86400s, so maybe it's a waiting game, but having not changed anything on the domain name DNS settings for at least a year, it seems odd that such a thing would happen.
Any suggestions as to where I need to look to investigate further?
Its not clear whether you are on windows or linux, and for more specific help you might as well provide the domain details, its already a public record.
IN the meanwhile you can use some tools like this to check your Mx mail setup;
http://www.mxtoolbox.com/
the key tools you need are
nslookup
anddig
for domain troubleshootingfor network troubleshooting its
telnet
,ping
andtracert
You probably want to send the results of the lookup on the domain like so;
p.s. I would definitely change the TTL to something less;
Its also worth mentioning that ping and DNS resolution are kind of at different levels in the troubleshooting stack, basically if
ping somedomain.com
works, then you have proved the DNS resolution (unless you have /etc/hosts file) but it is not helpful to diagnose the underlying DNS issue, which you needwhois
,nslookup
and/ordig
or some web tools like the following;http://looking-glass.taide.net/
https://www.ultratools.com/domainHealthReport
Do mail.mydomain.com and other.mydomain.com point to the same machine? If so I guess you have two names for the same machine, right? If that is the case and your email functions as expected with other.mydomain.com and the necessary MX changes then this sounds as a DNS record corruption. Simply put, the DNS server ignores that record.
But not knowing how your ISP handles the domains and what DNS software is being used then this is just a guess.
I would certainly 1) remove completely the mail.mydomain.com A record and recreate it and/or 2) have your ISP clean your domain.com zone files entirely and restart them from scratch.