Quote:
Originally Posted by uxbod So where have you specified your domain zone file ? All I can see in that file is two forwarders. This means all your DNS queries are being sent upstream so it will always resolve to your external IP and not the internal one. |
I have included the followin in named.conf
zone "domain.com" {
type master;
file "/etc/bind/db.domain.com";
};
Now the
zimbra@pop:/root$ dig domain.com mx
; <<>> DiG 9.4.2 <<>> domain.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 568
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;domain.com. IN MX
;; ANSWER SECTION:
domain.com. 604800 IN MX 10 pop.domain.com.
;; AUTHORITY SECTION:
domain.com. 604800 IN NS pop.domain.com.
;; ADDITIONAL SECTION:
pop.domain.com. 604800 IN A 192.168.10.5
;; Query time: 0 msec
;; SERVER: 192.168.10.5#53(192.168.10.5)
;; WHEN: Fri Jun 19 16:19:41 2009
;; MSG SIZE rcvd: 76
Again when sending mail it says the following error
Jun 19 16:29:48 pop postfix/smtp[32579]: C1E68802329: to=<ask2me007@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=12, delays=0.09/0.01/0/12, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 5D7AD80232A)
Jun 19 16:29:48 pop postfix/qmgr[20509]: C1E68802329: removed
Jun 19 16:29:48 pop postfix/smtp[32750]: 5D7AD80232A: to=<ask2me007@gmail.com>, relay=none, delay=0.09, delays=0.08/0.01/0/0, dsn=4.4.1, status=deferred (connect to 59.93.43.183[59.93.43.183]: Connection refused)