Hi everybody.
I’m configuring a Mail/DNS server using Postfix and Bind (named).
After a while, i have managed to get the outgoing mail working and the DNS resolving the services, but the incoming mail still doesn’t work…
I think its a DNS problem, so I need help to find what its the problem in the first place.
So i have my zone configured at: /etc/bind/db.domain.com
$TTL 604800
domain.com. IN SOA domain.com. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS dns.domain.com.
@ IN A 90.90.90.90
@ IN MX 10 mail.domain.com
dns IN A 90.90.90.90
mail IN A 90.90.90.90
www IN CNAME dns
And then added that zone to /etc/bind/named.conf
zone "domain.com" {
type master;
file "/etc/bind/db.domain.com";
}
The domain first dns its pointing to dns.domain.com …
When I make a alex@altair:~> dig domain.com MX
; <<>> DiG 9.7.1 <<>> domain.com MX
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44001
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;domain.com. IN MX
;; ANSWER SECTION:
domain.com. 3600 IN MX 10 mail.domain.com.
;; Query time: 463 msec
;; SERVER: 90.90.90.90#53(90.90.90.90)
;; WHEN: Tue Aug 31 16:03:19 2010
;; MSG SIZE rcvd: 53
It appears correct (i guess), so what do I am missing?
Thanks in advance.