Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 1997 20:03:47 +0100
From:      Lee Johnston <ljohnston@cyberworld.demon.co.uk>
To:        questions@freebsd.org
Subject:   Mail Host, POP & DNS Config
Message-ID:  <33B2BD13.EE398FDA@cyberworld.demon.co.uk>

next in thread | raw e-mail | index | archive | help
Hi,

I have FreeBSD 2.1.6

Recently I setup a Internal TCP/IP network. I only have three PC's on
the network:

    ser.whickhamcomp.ac.uk    IP ADDR: 192.168.1.1    (The FreeBSD PC)
    new2.whickhamcomp.ac.uk    IP ADDR: 192.168.1.2    (A Win95 Laptop)
    new3.whickhamcomp.ac.uk    IP ADDR: 192.168.1.3    (A Win95 Desktop
PC)

I setup DNS, HTTP and FTP servers on the FreeBSD PC
(ser.whickhamcomp.ac.uk). All of these work fine, but yesterday I
decided to try and setup a SMTP & POP server.

I added these lines to my DNS Zone file:

	new2.whickhamcomp.ac.uk.    A	192.168.1.2
				MX 10	ser.whickhamcomp.ac.uk.
	new3.whickhamcomp.ac.uk     A	192.168.1.3
				MX  10	ser.whickhamcomp.ac.uk.

This worked fine, users could collect mail using POP, and send using
SMTP. The only problem was that to send mail to a user on the network I
needed to use the following format for email address:

	[user]@ser.whickhamcomp.ac.uk

I wanted the email address to be in this format:

	[user]@whickhamcomp.ac.uk

To do this I added this line to my DNS Zone file:

	whickhamcomp.ac.uk.	IN A    192.168.1.1

Is this the correct way of doing this?

Also, we may be using the same FreeBSD PC as a gateway to the internet
through a permanent ISDN line in the future. How would we make our DNS
server available to external clients on the internet so people outside
of our network could resolve our IP address from our Domain name
(ser.whickhamcomp.ac.uk)?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33B2BD13.EE398FDA>