DNS MX record problem
I have problem setting my DNS mx record. Below is my zone file
$TTL 86400 @ IN SOA abc.com. root.abc.com. ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum IN NS mail1.abc.com. localhost IN A 127.0.0.1 mail1 IN A 10.1.1.9 mail2 IN A 10.1.1.10 IN MX 10 mail1.abc.com. www IN CNAME mail1.abc.com. ftp IN CNAME mail2.abc.com. This is the result of dig [root@mail1 named]# dig @localhost -t mx abc.com ; <<>> DiG 9.3.4-P1 <<>> @localhost -t mx abc.com ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28103 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;abc.com. IN MX ;; AUTHORITY SECTION: abc.com. 86400 IN SOA abc.com. root.abc.com. 42 10800 900 604800 86400 ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sat Jul 12 21:16:56 2008 ;; MSG SIZE rcvd: 71 What am I doing wrong? Please help |
put this right above the line IN NS mail1...
Code:
$ORIGIN abc.com. |
Owner of a RR
If you leave out owner of a RR it's inherited from previous RR. Owner of your MX is mail2. Correct this like abc.com. MX 10 mail1
or move the MX just below the NS. |
All times are GMT -5. The time now is 03:14 AM. |