jhaagmans wrote:
Hi Sven,

[...]

There's one specific domain we'd like to instantly mail to. Will it
save DNS-lookup time if I'd add the mailserver at the other end to our
hosts file? If so, should we use the MX-record (mail.domain.com) or
just the domain part of the e-mail address (domain.com)?

Right idea, but a fragile approach. If upstream ever changes the IP address of the mail server you'll still be trying to deliver to the old host, which may cause tons of bounced mail before you catch it.

I'd recommend installing a caching-only DNS server on your mail server. If you don't want to get into the overhead of installing and maintaining BIND you can try a something smaller that works just as well, like dnsmasq (be sure to turn off dnsmasq's DHCP capabilities though).

YMMV, depending on the amount of mail you're generating. For ten mails a day you won't see much of an improvement, but several thousand will at the very least help taking load off of your DNS server.

Regs,
Sven
-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to