mail server DNS configuration questions

Patrick Mahan mahan at
Tue Sep 9 17:10:05 UTC 2008

Andrew Falanga presented these words - circa 9/6/08 6:28 PM->
> Hi,
> Well, my clients at church are still having issues and after working with 
> George, a respondant to my original questions, I think that most, if not all, 
> of my problems are related to DNS and how we've got it improperly configured.
> First, a crude drawing of how our mail server exists in the world:
> 192.168.2.x/24       "lot's of networks"
> Private Network <--> CableOne <--> Internet
> Now, our mail server's IP is  On the router, he (the person at 
> whose house the mail server is) has IP forwarding setup so that mail get's 
> sent to our FreeBSD machine.  Using dig, here's the responses:
> (from my FBSD machine at home, not the server)
> [/usr/home/andy]
> -> dig +short -t MX
> 10
> [/usr/home/andy]
> -> dig +short -t A
> [/usr/home/andy]
> -> dig +short -x
> (from the church FBSD machine)
> [/home/afalanga]
> -> hostname
> whitbap
> [/home/afalanga]
> -> ifconfig fxp0
>         options=8<VLAN_MTU>
>         inet netmask 0xffffff00 broadcast
>         ether 00:d0:b7:74:87:48
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> [/home/afalanga]
> -> cat /etc/resolv.conf
> search McCutchanLAN
> nameserver
> It doesn't take a rocket scientist, or a computer scientist, to figure out 
> we've got DNS issues.  I'm thinking that I should setup a domain within the 
> network on this box.  I've done this before, at work.  The 
> question I've got is I've never actually integrated a domain like this to a 
> domain on the Internet.  I'm thinking that we'll setup something like: 
> with hosts in that sub-domain.

First, what are you trying to accomplish with the internal DNS?  Make it easier to
resolve machines in the network?  Allow lookups external of the network?  What machine is ''?  Is it on the network?  Is it reachable from the Internet?

Who is the owner of DNS zone?  I show the following NS servers:

Patrick at widowmaker-~/src/MPS/DocDownload 140 > dig +short -t NS

Which is administered by (Tucows, Inc) a seller of DNS services.

> So, what would my DNS tables need to look like to make this happen.  Also, to 
> any knowledgable souls here, what RFCs address these issues?

You can read the RFC's if you want, but you would be better served to purchase
"DNS and BIND, Fourth Edition, by Paul Albitz & Cricket Liu" to learn how to
administer DNS.


More information about the freebsd-questions mailing list