ya, a couple of steps ahead of ya... I did install webadmin and I neglected to mention I found out bind wasn't starting (at least I think it wasn't starting) and got the out of range error. my serial was too high, lowered it and the solved that problem (so that proves db.example.com is being registered and used), but the SERVFAIL problem was still occurring.
So I found some piece on the whole $ORIGIN/@ thing and between playing with that (commenting/un-commenting "@ORIGIN example.com." in db.example.com) and commenting/un-commenting "@ IN NS mail" I got rid of the SERVFAIL problem (un-commenting both seems to have done the trick).
But now I still get the "Host mail not found: 3(NXDOMAIN)" error message when running "host `hostname`". Any ideas on why that's still occurring?
Here's my dig and host results/outputs:
Code:
anuvatec@mail:~$ dig example.com mx
; <<>> DiG 9.4.2-P2 <<>> example.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21862
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;example.com. IN MX
;; ANSWER SECTION:
example.com. 604800 IN MX 10 mail.example.com.
;; AUTHORITY SECTION:
example.com. 604800 IN NS mail.example.com.
;; ADDITIONAL SECTION:
mail.example.com. 604800 IN A 192.168.0.10
;; Query time: 4 msec
;; SERVER: 192.168.0.10#53(192.168.0.10)
;; WHEN: Fri Nov 20 17:27:41 2009
;; MSG SIZE rcvd: 86
anuvatec@mail:~$ dig example.com any
; <<>> DiG 9.4.2-P2 <<>> example.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16292
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;example.com. IN ANY
;; ANSWER SECTION:
example.com. 604800 IN SOA mail.example.com. admin.example.com. 2009112013 604800 86400 2419200 604800
example.com. 604800 IN NS mail.example.com.
example.com. 604800 IN A 192.168.0.10
example.com. 604800 IN MX 10 mail.example.com.
;; ADDITIONAL SECTION:
mail.example.com. 604800 IN A 192.168.0.10
;; Query time: 4 msec
;; SERVER: 192.168.0.10#53(192.168.0.10)
;; WHEN: Fri Nov 20 17:27:46 2009
;; MSG SIZE rcvd: 144
anuvatec@mail:~$ host `hostname`
Host mail not found: 3(NXDOMAIN)