From owner-freebsd-questions Thu Jun 26 19:06:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id TAA27815 for questions-outgoing; Thu, 26 Jun 1997 19:06:22 -0700 (PDT) Received: from punt-2.mail.demon.net (relay-15.mail.demon.net [194.217.242.23]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id TAA27806 for ; Thu, 26 Jun 1997 19:06:15 -0700 (PDT) Received: from cyberworld.demon.co.uk ([158.152.125.109]) by punt-2.mail.demon.net id aa0505390; 26 Jun 97 20:00 BST Message-ID: <33B2BD13.EE398FDA@cyberworld.demon.co.uk> Date: Thu, 26 Jun 1997 20:03:47 +0100 From: Lee Johnston X-Mailer: Mozilla 4.0 [en] (Win95; I) MIME-Version: 1.0 To: questions@freebsd.org Subject: Mail Host, POP & DNS Config X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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)?