{"id":7125,"date":"2014-05-24T09:51:46","date_gmt":"2014-05-24T09:51:46","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/24\/have-a-reverse-but-still-getting-problems-with-reverse-dns-pointing-to-unknown-hostname-collection-of-common-programming-errors-2\/"},"modified":"2014-05-24T09:51:46","modified_gmt":"2014-05-24T09:51:46","slug":"have-a-reverse-but-still-getting-problems-with-reverse-dns-pointing-to-unknown-hostname-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/24\/have-a-reverse-but-still-getting-problems-with-reverse-dns-pointing-to-unknown-hostname-collection-of-common-programming-errors-2\/","title":{"rendered":"have a reverse but still getting problems with reverse DNS pointing to unknown hostname-Collection of common programming errors"},"content":{"rendered":"<p>I am having problems sending email from a domain I host myself.<\/p>\n<p>I have omitted the actual ip address in question, I am not sure how secure it is that I post it. However the problem is as follows:<\/p>\n<p>According to my ISP the reverse was done for the my IP to point to the FQDN taht follows.<\/p>\n<p><code>(XXX.XXX.XXX.XXX) -&gt; mymachine.domain.com<\/code><\/p>\n<p>However I still get email undelivered:<\/p>\n<p><code>host inc.wanadoo.es[xxx.xxx.xxx.xxx] refused to talk to me: 550 Reverse DNS lookup failed for host xxx.xxx.xxx.xxx.<\/code><\/p>\n<p>and upon testing I get the following error:<\/p>\n<p><code>Reverse for xxx.xxx.xxx.xxx points to an unknown host name (mymachine.mydomain.com).<\/code><\/p>\n<p>The weirdest, perhaps, is that using some tools (i.e mxtoolbox) to check that the rDNS agrees to my SMTP banner, all checks fine, however, it fails when I use other tools.<\/p>\n<p>What can be the error?<\/p>\n<p>Do I need a reverse for every single domain I host or is it enough with the one for the mail server?<\/p>\n<p>Bluetxxth<\/p>\n<p>Ubuntu Server 10.04. LTS<\/p>\n<p>Bind9<\/p>\n<p>Postfix version 2.x.x<\/p>\n<p>Edit: In trying what you suggested I received the following:<\/p>\n<p>first test<\/p>\n<pre><code>host -t a neo001.neoclash.com 8.8.8.8\n\nmymachine.mydomain.com 8.8.8.8 Using domain server: Name: 8.8.8.8 Address: 8.8.8.8#53 Aliases:\n\nHost mymachine.mydomain.com not found: 3(NXDOMAIN)\n<\/code><\/pre>\n<p>second test<\/p>\n<pre><code>host -t ptr 1.2.3.4.in-addr.arpa 8.8.8.8\n\nhost -t ptr 109.124.134.63.in-addr.arpa 8.8.8.8 Using domain server: Name: 8.8.8.8 Address: 8.8.8.8#53 Aliases:\n\nHost 1.2.3.4.in-addr.arpa not found: 3(NXDOMAIN)\n<\/code><\/pre>\n<p>zone configuration<\/p>\n<pre><code>$TTL 12H\n$ORIGIN mydomain.com.\n\nenter@  IN  SOA ns1.mydomain.com. postmaster.mydomain.com. (\n        2011030805\n        8H\n        2H\n        7D\n        1D )\n            IN              NS              ns1.mydomain.com.\n            IN              NS              ns2.mydomain.com.\n            IN              MX      10      mail.mydomain.com.\n            IN              MX      20      mail.anotherdomain.net.\n\nmydomain.com. IN A 1.2.3.4\n\nwww IN A 1.2.3.4\n\nmydomain.com. IN TXT \"v=spf1 a mx ip4:1.2.3.4 ip4:1.2.3.4 ~all\"\n\nlocalhost IN A 127.0.0.1\n\nmail IN A 1.2.3.4\nmail IN A 1.2.3.5\nns1 IN A 1.2.3.4\nns2 IN A 1.2.3.5\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I am having problems sending email from a domain I host myself. I have omitted the actual ip address in question, I am not sure how secure it is that I post it. However the problem is as follows: According to my ISP the reverse was done for the my IP to point to the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7125","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7125","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7125"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7125\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7125"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7125"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}