dotBATmanNO / PSGet-Domain-MailInfo

PowerShell script to get domain mail info and control status such as MX, SPF, DKIM, DMARC and StartTLS.
GNU General Public License v3.0
12 stars 2 forks source link

Does not handle multi-line TXT records #12

Closed dotBATmanNO closed 3 years ago

dotBATmanNO commented 4 years ago

If the queried TXT record is broken over multiple lines the script will not concatenate the parts into one string.

Reproducing the issue Query a domain that has a TXT record, e.g. SPF, that is long and broken over multiple lines.

Expected behavior The script should join all lines of the returned TXT record into one string.