Go to All Forums

DNS Monitor: TXT Records with Substring Search


DNS TXT records are used for SPF entries in order to prevent SPAM on the internet.   Currently, there is no ability to monitor TXT records with a Site24x7 DNS Monitor.  We need to be able to monitor a DNS TXT record to see if a sub-string is found in the results in order to validate that our mail server IP address is in the SPF text of a TXT record.

Would it be possible to create the ability to monitor TXT records with the DNS Monitor?  Also, would it be possible to search for a sub-string in the results of a TXT record's value?


[nobodyspecial@localhost ~]$ dig -t TXT _spf.google.com

; <<>> DiG 9.8.3-P1 <<>> -t TXT _spf.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43472
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;_spf.google.com.        IN    TXT

_spf.google.com.    224    IN    TXT    "v=spf1 include:_netblocks.google.com include:_netblocks2.google.com include:_netblocks3.google.com ~all"

;; Query time: 58 msec
;; WHEN: Fri Jun 23 08:49:19 2017
;; MSG SIZE  rcvd: 149

We would like to be able to search for the above bolded text in a TXT record's value.


Like (3) Reply
Replies (0)