Hi
I hope there is a Novell DNS expert around...because this has stumped me for hours...

I recently found that some new cron jobs could not send email because the SLES `mail` process couldn't read the mx record from a domain hosted by novell-named.

So I ran dig to verify and sure enough the mx record is not returned.

[domain name changed to acme to protect the innocent]
Basically the mail and name server for acme.com.au are in prv.acme.com.au.
Both domains are on the same inhouse server on a 192.168.1 network.

Here is my dig test showing no mx record returned...
dig @localhost acme.com.au mx
Code:
; <<>> DiG 9.3.4 <<>> @localhost acme.com.au mx
; (2 servers found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52342
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;acme.com.au.	IN	MX

;; AUTHORITY SECTION:
acme.com.au. 86400	IN	SOA	server2.prv.acme.com.au. root.acme.com.au. 2010102511 10800 3600 604800 86400

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Nov 22 21:27:40 2010
;; MSG SIZE  rcvd: 94
Here is the acme.com.au.db file which shows the mx record is there, pointing to the sub domain
Code:
$ORIGIN .
$TTL 86400	; 1 day
acme.com.au	IN SOA	server2.prv.acme.com.au. root.acme.com.au. (
				2010102511 ; serial
				10800      ; refresh (3 hours)
				3600       ; retry (1 hour)
				604800     ; expire (1 week)
				86400      ; minimum (1 day)
				)
			NS	server2.prv.acme.com.au.
$ORIGIN acme.com.au.
mail			MX	10 server2.prv
ns1			NS	server2.prv

1.168.192.IN-ADDR.ARPA.db
Code:
$ORIGIN .
$TTL 86400	; 1 day
1.168.192.IN-ADDR.ARPA	IN SOA	server2.prv.acme.com.au. root.1.168.192.IN-ADDR.ARPA. (
				2010112221 ; serial
				10800      ; refresh (3 hours)
				3600       ; retry (1 hour)
				604800     ; expire (1 week)
				86400      ; minimum (1 day)
				)
			NS	server2.prv.acme.com.au.
$ORIGIN 1.168.192.IN-ADDR.ARPA.
200			PTR	server2.prv.acme.com.au.

Restarting novell-named and inspecting /var/opt/novell/log/named/named.run doesn't have any errors as shown here....
Code:
22-Nov-2010 22:11:35.488 general: main: notice: starting BIND 9.3.2 -u named
22-Nov-2010 22:11:37.721 general: dns/db: info: Read the configuration for the zone: prv_acme_com_au.org of type: 1 with return code: 0 
22-Nov-2010 22:11:37.725 general: dns/db: info: Read the configuration for the zone: acme_com_au.org of type: 1 with return code: 0 
22-Nov-2010 22:11:37.735 general: dns/db: info: Read the configuration for the zone: 1_168_192_IN-ADDR_ARPA.org of type: 1 with return code: 0 
22-Nov-2010 22:11:37.736 network: interfacemgr: info: listening on IPv4 interface lo, 127.0.0.1#53
22-Nov-2010 22:11:37.736 network: interfacemgr: info: listening on IPv4 interface lo, 127.0.0.2#53
22-Nov-2010 22:11:37.736 network: interfacemgr: info: listening on IPv4 interface eth0, 192.168.1.200#53
22-Nov-2010 22:11:37.738 general: control: notice: command channel listening on 127.0.0.1#953
22-Nov-2010 22:11:37.738 general: control: notice: command channel listening on ::1#953
22-Nov-2010 22:11:37.741 general: dns/zone: info: zone 1.168.192.IN-ADDR.ARPA/IN: loaded serial 2010112221
22-Nov-2010 22:11:37.752 general: dns/zone: info: zone acme.com.au/IN: loaded serial 2010102521
22-Nov-2010 22:11:37.758 general: dns/zone: info: zone prv.acme.com.au/IN: loaded serial 2010102491
22-Nov-2010 22:11:37.772 general: server: notice: running
22-Nov-2010 22:11:38.759 general: dns/zone: info: zone acme.com.au/IN: Starting Data consolidation
22-Nov-2010 22:11:38.760 general: dns/journal: info: Journal File does not exists
22-Nov-2010 22:11:38.760 general: dns/zone: info: zone acme.com.au/IN: SOA & JLA has been written in to eDirectory
This is such a simple setup I can't believe that it is not working.
I have restarted novell-named (many times) plus deleted and reinserted the mx record and even renamed the acme.com.au.db file.

What is the best way to get the mx record working?

Cheers
Gordon