I have dedicated Ubuntu LAMP-server with Bind9, Webmin and Mail server.
My IP:
12.345.678.900
My host: (domain is pointed to this as 1. nameserver)
ns999999.ip-12-345-678.eu
My domain:
www.examp.le
My second nameserver:
ns.nameserver.com
I have successfully set master (Forward zone) record to Bind like that:
examp.le. IN SOA ns999999.ip-12-345-678.eu. webmaster.examp.le. (
1394802155
10800
3600
604800
38400 )
examp.le. IN NS ns999999.ip-12-345-678.eu.
examp.le. IN MX 10 mail.examp.le.
examp.le. IN NS ns.nameserver.com.
examp.le. IN A 12.345.678.900
*.examp.le. IN A 12.345.678.900
That zone is working and when I put examp.le to my browser it works. I have mail server running in the same server in host mail.examp.le. I have had some problems with sending and receiving mail and I think that one reason is the PTR-record. I mean I don't have any PTR-records. Also some public DNS-tests say: "THERE ARE NO PTR RECORDS FOR YOUR MAIL SERVER 'mail.examp.le' IN 'ns999999.ip-12-345-678.eu'"
My problem is that I don't know how to set those PTR records for mail.examp.le. I have tried to google many hours and so on but I can't set it.
Thank you very much for your help.
First of all: A PTR record is most often set by your ISP. Probably nothing you can set yourself. It a record under your IP number not your domain name. Contact your ISP and ask them to set up the PTR record.
You should also look up SPF records and DKIM. If you are experiencing that sent mails end up in the trash can!
Some good reading on the subject: http://www.allaboutspam.com
Some other reading on PTR records: http://www.itworld.com/networking/362601/how-setup-reverse-dns-and-ptr-records
EDIT
The PTR record should point to the domain name sending the mail. for example: if you are sending mail from [email protected] the PTR record should point to example.com