I recently had problems with a MX record changed by an admin (he manages several domains).

We have several domains pointed to gsuite email (Google). If MX records are changed, it is unoticed by end users since they keep using the service as usual and send emails, they just dont receive any more.

Once an end user finds out, it is because of non received emails, a problem that could be prevented.

It would be great to check MX records of a domain to find any change... hope it makes it to an upcoming version of PA :)

asked 14 Dec '18, 11:48

alejnadro's gravatar image

alejnadro
4269
accept rate: 0%


Workaround while the feature comes up:

nslookup -querytype=mx domain.com >> logfile.txt

Then run log file monitor over logfile.txt it wont check if there are MX records that shouldnt be, but it can check if a given MX record is found...

link

answered 14 Dec '18, 12:57

alejnadro's gravatar image

alejnadro
4269
accept rate: 0%

edited 14 Dec '18, 12:58

Pumping up request :)

...and is possible check also SPF records and CNAME...

or a simpler monitor just to check if there was any change on records...

THANKS!!!

link

answered 15 Mar '23, 10:17

alejnadro's gravatar image

alejnadro
4269
accept rate: 0%

Update: the log file monitor is not appropriate as workaround, but File & Directory Change monitor is, unchecking file date and checking MD5 hash value to detect any change and using script:

del domainrecords.txt

nslookup -querytype=mx mydomain.com >> domainrecords.txt

nslookup -querytype=txt mydomain.com >> domainrecords.txt

nslookup -querytype=cname mydomain.com >> domainrecords.txt

link

answered 15 Mar '23, 11:13

alejnadro's gravatar image

alejnadro
4269
accept rate: 0%

edited 15 Mar '23, 11:18

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×9
×3

Asked: 14 Dec '18, 11:48

Seen: 3,633 times

Last updated: 15 Mar '23, 11:18