My problem:
I have set up several domains on a VPS running WHM and cPanel on CentOS 4.6. I have been unable to properly set up my MX, SPF and PRT record as to properly send mail to domains that perform reverse DNS lookups. I have not properly set up my VPS and I need some guidance. My current DNS record as it pertains to mail looks like this:
Definitions:
shared IP = xxx.xxx.xxx.173 for virtual domains without SSL
exclusive IP = xxx.xxx.xxx.182 for main domain with SSL cert
exclusive IP = xxx.xxx.xxx.30 for mail server with SSL cert
domain.com. A xxx.xxx.xxx.182
domain.com. mx 0 mail.domain.com.
mail.domain.com. A xxx.xxx.xxx.30
xxx.xxx.xxx.182 PTR ggtai.com.
ns1.domain.com. A xxx.xxx.xxx.182
ns2.domain.com. A xxx.xxx.xxx.182
domain.com. TXT "v=spf1 a mx ~all"
hostname.domain.com A xxx.xxx.xxx.173
I have screwed this up when I installed the SSL certs, i.e. changed the IP of the mail server so I could install a SSL cert...
results of a dig -x on xxx.xxx.xxx.182
[root@ruby ~]# dig -x 66.11.239.182
; <<>> DiG 9.5.0b1 <<>> -x xxx.xxx.xxx.182
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28310
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;182.239.11.66.in-addr.arp
a. IN PTR
;; ANSWER SECTION:
182.239.11.66.in-addr.arpa
. 3600 IN PTR xxx-xxx-xxx-182.managemyvp
s.com.
;; AUTHORITY SECTION:
239.11.66.in-addr.arpa. 18930 IN NS ns1.managemyvps.com.
239.11.66.in-addr.arpa. 18930 IN NS ns2.managemyvps.com.
; <<>> DiG 9.5.0b1 <<>> -x xxx.xxx.xxx..30
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13787
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;30.239.11.66.in-addr.arpa
. IN PTR
;; ANSWER SECTION:
30.239.11.66.in-addr.arpa.
3600 IN PTR xxx-xxx-xxx-30.managemyvps
.com.
;; AUTHORITY SECTION:
239.11.66.in-addr.arpa. 16135 IN NS ns1.managemyvps.com.
239.11.66.in-addr.arpa. 16135 IN NS ns2.managemyvps.com.
;; Query time: 37 msec
;; SERVER: 67.100.88.27#53(67.100.88.
27)
;; WHEN: Fri Jan 25 02:50:07 2008
;; MSG SIZE rcvd: 121
;; Query time: 36 msec
;; SERVER: 67.100.88.27#53(67.100.88.
27)
;; WHEN: Fri Jan 25 02:03:33 2008
;; MSG SIZE rcvd: 123
I need explicit instructions on what I need to do to correct this.
Thanks in advance.
Start Free Trial