wesupport

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

Need help?

Our experts have had an average response time of 11.43 minutes in March 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Avoid spamming using anti-spamming DNS records

by | Aug 25, 2012

Most of us might have come across instances where mails from our domain are marked as spam even though it is legitimate. This article describes few settings that can be implemented in order to decrease the chances of mails originating from your domain being marked as spam.

Spamming can be prevented to a great extend by using anti-spamming DNS records such as SPF, DomainKey and reverse DNS.

SPF :

Sender Policy Framework (SPF) records helps to prevent spoofing of mails by verifying the sender’s IP address. SPF record allows domain owners to specify IP address from which mails will originate, so that receivers verifying the SPF records can reject messages from unauthorized sources before receiving the body of the message.

When a mail server receives an email, it will check the DNS zone of the sender’s domain for an SPF record. If a domain publishes an SPF record, it will check if the sender’s IP address is specified in the SPF record. If this check fails, the mail will be discarded. A simple SPF record will look like:

domain.com IN TX”v=spf1 ip4:1.1.1.1 ip4:2.2.2.2 -all”

The above record specifies that email accounts under domain.com will send mails only from 1.1.1.1 or 2.2.2.2. When a mail server receives a mail from user@domain.com, it will check if the mail is sent from 1.1.1.1 or 2.2.2.2. It will accept the mail only if the sender’s address is 1.1.1.1 or 2.2.2.2. For this system to work effectively, SPF checking should be enabled at the recipient’s mail server.

Domain Key :

Domain key is an email authentication system. It is used to verify the domain of the email sender and to make sure that the message is not spam.

In order to show that the email is being sent from the same domain, domainkeys insert a string of characters in the header of the mail. A protocol called DKIM (Domainkeys Identified Mail) is being developed by combining some features of Identified Internet mail, in which a digital signature will be added to the header which can be identified by the recipients.

Reverse DNS:

When a mail server gets mail from your domain, it performs a reverse look up to see if the hostname of the mail server matches the IP address. If someone is trying to trick the mail server, the reverse DNS lookup will fail and the mail will be discarded.

The reverse DNS record is setup for the interface IP address of the mail server. You can request your ISP to add a RDNS record.

The above is a very rough outline on avoiding spamming using anti-spamming DNS records , if you have any questions, we would be happy to talk to you! 🙂

 

SAVE YOUR BUSINESS NOW!

Never again lose customers to poor quality support! Let us help you.

Sign Up once. Enjoy Peace Of Mind For Ever!

HIRE THE BEST HOSTING SUPPORT NOW


Bobcares provides Outsourced Web Hosting Support and Outsourced Server Management for online businesses. Our services include 24/7 server support, help desk support, live chat support and phone support.

1 Comment

  1. waseem

    hi, very helpfull information you have added, i would like to thank you.i wanted to know about brief about dns and its records. please send me some helpfull files on my id

    Thanks

Categories

Tags