What's the best way to route DNS to a server?
July 27, 2007 12:57 PM
Subscribe
Please help me set up reverse DNS properly for an XServe connected to a network I manage.
I need to set up reverse DNS. What's the best way to do this?
I have an XServe. It's going to be hosting mail and websites for a handful of domains, all of which are handled by nameservers I control.
I can set up the ISP side of this either with one public address NATed and then give the XServe a private address, or I can possibly connect the XServe directly to one or more public IP addresses.
All of the tutorials and forum postings say that reverse DNS is required. They aren't clear on the specifics, however. If I give my server a private address, then even if I point one of my hostnames (xserve.example.com) to the public, internal reverse DNS queries will fail to map it.
Do I set up an internal-only DNS zone? Or, do I put the XServe directly on a public address and give it the hostname of xserve.example.com?
What's the "proper" way to set this up? Point all the domains to one IP, or get one IP per domain? Is reverse DNS something I set up, or is that something the ISP needs to do? If so - what specifically do they need to do?
Any advice would be greatly appreciated, mainly because though I could probably get some hack to work, I would rather know what "professionals" actually do in this case.
Thanks for the advice!
posted by odinsdream to computers & internet (10 comments total)
1 user marked this as a favorite
If the Xserv is on a private address, you may have to do something so that it uses the public IP in it's headers. If my quick googling is correct, OS X server uses Postfix for the SMTP MTA. This gives instructions for configuring Posftfix for a server that sits behind NAT, though it may well be something that Apple provides an easier config interface for.
posted by Good Brain at 1:32 PM on July 27, 2007