Thanks for the help. Yes, I agree having the 2 Domain names complicates things a lot. However, in my experience it is a common thing to have the internal domain set differently to the external domain.
Perhaps it's my MS training showing up here!
I have made the changes required.
Now it seems to be pointing to the default gatgeway internal IP rather than the mailserver internal IP?
Code:
cat /etc/resolv.conf
# Generated by Network Manager
nameserver 10.1.1.203
nameserver 10.1.1.1 (have this as my secondary DNS server in Network manager)
Code:
cat /etc/hosts
127.0.0.1 localhost.localdomain locahost
10.1.1.203 m37-zmail.mendel37.org m37-zmail m37-zmail
Code:
dig mendel37.org mx
; <<>> DiG 9.6.1-P3-RedHat-9.6.1-9.P3.fc11 <<>> mendel37.org mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62690
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;mendel37.org. IN MX
;; ANSWER SECTION:
mendel37.org. 14283 IN MX 0 m37-zmail.mendel37.org.
;; ADDITIONAL SECTION:
m37-zmail.mendel37.org. 13919 IN A 203.59.99.147
;; Query time: 17 msec
;; SERVER: 10.1.1.1#53(10.1.1.1)
;; WHEN: Tue Jan 26 07:31:28 2010
;; MSG SIZE rcvd: 72
Code:
dig mendel37.conf any
; <<>> DiG 9.6.1-P3-RedHat-9.6.1-9.P3.fc11 <<>> mendel37.conf any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3205
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;mendel37.conf. IN ANY
;; AUTHORITY SECTION:
. 59174 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2010012500 1800 900 604800 86400
;; Query time: 172 msec
;; SERVER: 10.1.1.1#53(10.1.1.1)
;; WHEN: Tue Jan 26 07:32:55 2010
;; MSG SIZE rcvd: 106
Code:
nslookup m37-zmail.mendel37.org
Server: 10.1.1.1
Address: 10.1.1.1#53
Non-authoritative answer:
Name: m37-zmail.mendel37.org
Address: 203.59.99.147
Regards, Peter.