Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/likhithkp/go-email-verification-tool
Lightweight Go application that verifies the presence of DNS records for a given domain. It checks for MX, SPF, and DMARC records and outputs the results.
https://github.com/likhithkp/go-email-verification-tool
bufio email-verification go golang os
Last synced: 16 days ago
JSON representation
Lightweight Go application that verifies the presence of DNS records for a given domain. It checks for MX, SPF, and DMARC records and outputs the results.
- Host: GitHub
- URL: https://github.com/likhithkp/go-email-verification-tool
- Owner: likhithkp
- Created: 2024-05-21T02:08:36.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-23T03:48:04.000Z (8 months ago)
- Last Synced: 2024-12-11T17:53:29.514Z (23 days ago)
- Topics: bufio, email-verification, go, golang, os
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Email Verifier
Email Verifier is a simple Go application that checks the presence of DNS records for a given domain. It verifies the existence of MX, SPF, and DMARC records and prints the results in CSV format.
## Features
- Verifies the existence of MX records.
- Checks for SPF records and retrieves the SPF record if it exists.
- Checks for DMARC records and retrieves the DMARC record if it exists.## Prerequisites
- Go (version 1.13 or later)
## Installation
1. Clone the repository:
```bash
git clone https://github.com/likhithkp/go-email-verification-tool.git
cd go-email-verification-tool
```## Run
```go run main.go```
## Example input:
example.com
google.com
yahoo.com## Example output:
domain, hasMX, hasSPF, spfRecord, hasDMARC, dmarcRecord
example.com, true, true, v=spf1 include:_spf.example.com ~all, true, v=DMARC1; p=none; rua=mailto:[email protected]
google.com, true, true, v=spf1 include:_spf.google.com ~all, true, v=DMARC1; p=none; rua=mailto:[email protected]
yahoo.com, true, true, v=spf1 include:spf.protection.outlook.com -all, true, v=DMARC1; p=reject; rua=mailto:[email protected]