I used to run 10.2 server,
I had mail, web, dns, ftp, appleshare, databases etc. on the same machine.
Worked fine.
Now I bought another server, so I have two,
one webserver with dns, and one mailserver.
Both servers are on a private network but are routed to a public IP.
webserver use the internal IP: 10.20.10.100
external: 194.200.210.200
mailserver use internal: 10.20.10.200
external: 194.200.210.201
My old zonefile used to look like this when I had all services on the same box. This zonefile are present on the webserver box.
; Name servers
@ NS dns.mydomain.se.
;
; Mail servers
;
@ MX 10 mail.mydomain.se.
;
; Addresses for the canonical names
;
localhost A 127.0.0.1
dns A 194.200.210.200
@ A 194.200.210.200
;
; Aliases
;
mail CNAME dns.mydomain.se.
______________
How should I set it up so all mail for my domain will be sent to IP 10.20.10.200?
Will another canonical entry do the trick?
Like:
mail A 194.200.210.201
I need to get this going fast, help appreciated.