I'm attempting to send mail from a remote email account to my postfix smtp mail service on my local network. Everything works fine on the local network and users can freely exchange mail between one another's local accounts. However, I can't send email to the outside, nor receive from the outside. When I send email to the remote server, my log says, "no route to host". When I send email from the remote server, I get a bounce message that says, "No MX or A records found". I've been assured this is a DNS problem and not a Postfix problem, so I'll rephrase this question in terms of DNS. Here's the confusion:
I've created a zone file for my domain that is recognized only by my localhost DNS server. When I query the DNS server of my isp, I get a NXdomain error. Granted that only my loopback DNS can recognize the zone file, how does this file get known to the public network? How is this related to the domain I've registered with a public registrar? And how is my remote email account ever going to figure out that I do have MX and A records for that domain, though only on my local DNS?
btw my network is behind a NAT and I've forwarded 53 through both firewalls, and it's currently open.
Here are the current zone files:
$TTL 1d @ IN SOA ns1.admitonetwowire.com. root.admitonetwowire.com. ( 3 604800 86400 2419200 604800) @ IN NS ns1.admitonetwowire.com. root IN A 184.108.40.206 ns1 IN A 220.127.116.11 server IN A 18.104.22.168 @ IN A 22.214.171.124 @ IN MX 0 server.admitonetwowire.com.
$TTL 1d @ IN SOA ns1.admitonetwowire.com. root.admitonetwowire.com. ( 3 604800 86400 2419200 604800 ) @ IN PTR ns1.admitonetwowire.com @ IN PTR server.admitonetwowire.com @ IN PTR root.admitonetwowire.com @ IN PTR admitonetwowire.com. @ IN NS ns1.admitonetwowire.com.
btw 126.96.36.199 is my public ip.