From owner-freebsd-questions@FreeBSD.ORG Sun Jan 1 21:14:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77927106566C for ; Sun, 1 Jan 2012 21:14:20 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3E50E8FC0C for ; Sun, 1 Jan 2012 21:14:19 +0000 (UTC) Received: by iadj38 with SMTP id j38so35721014iad.13 for ; Sun, 01 Jan 2012 13:14:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yeqJ7BIqkGQlQA3vG5emj9nB775U+Uqwiu6owcdcxGE=; b=CQwg2K7z7nl+phaH6EuGW+6nQp+0sB3hduE+OiNFvud3MEZjM4iluJi2/J+Au+hEHQ sKmS/bAl+VbrblUXJcfkLcAhhh7kzDpRJza6rQrq0cWuZb3dctU12laft1qQPIrhqzCb adkmNEe8gRoXXRTAH2Lm6078B1oeteKwyTIUk= MIME-Version: 1.0 Received: by 10.50.170.35 with SMTP id aj3mr55499237igc.2.1325451102866; Sun, 01 Jan 2012 12:51:42 -0800 (PST) Received: by 10.231.31.65 with HTTP; Sun, 1 Jan 2012 12:51:42 -0800 (PST) In-Reply-To: References: Date: Sun, 1 Jan 2012 12:51:42 -0800 Message-ID: From: Waitman Gobble To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: DNS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jan 2012 21:14:20 -0000 On Sun, Jan 1, 2012 at 12:20 PM, Daniel Lewis wrote: > > Im new to freebsd 8.2 and the unix world. How do i setup dns to support my > domain > Hi Daniel, You probably want to use ISC bind in /usr/ports/dns I recommend you read the O'Reilly book DNS and BIND. Basic process - Install and configure bind. If possible set up on two or more machines/ip. IMHO it's less hassle to set up duplicate masters and rsync changes from your 'main' install instead of setting up master/slave configurations. create zone file for your domain, ie $TTL 86400 example.com. IN SOA ns1.example.com. ns@example.com. ( 2012010210 28800 7200 1209600 86400 ) example.com. NS ns1.example.com. example.com. NS ns2.example.com. example.com. MX 0 mail.example.com. example.com. A 192.168.0.133 www.example.com. A 192.168.0.133 * IN CNAME www.example.com. cname is good for people who enjoy making typos like wwww and ww add your domain zone file to named.conf, ie zone "example.com" IN { type master; file "example.com.hosts"; }; reload nameserver rndc reload export your nameservers to root ns, this process varies for registrar - look for "use my own nameserver" or "create nameservers based on domain" in your registrar help docs. Maybe you can contact internic/nsi directly instead (?). Back in the old days users just spread around copies of the hosts file. Have fun. Waitman Gobble San Jose California USA