From owner-freebsd-questions Mon Nov 11 7:38: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A41937B401 for ; Mon, 11 Nov 2002 07:37:58 -0800 (PST) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB5BE43E77 for ; Mon, 11 Nov 2002 07:37:57 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from DaleCoportable [12.145.226.116] by mail.gbronline.com (SMTPD32-7.13) id AE63700302A8; Mon, 11 Nov 2002 09:36:03 -0600 Message-ID: <02d301c28997$9c1df070$fa00a8c0@DaleCoportable> From: "Kevin D. Kinsey, DaleCo, S.P." To: Cc: References: <1229.24.27.164.225.1037022585.squirrel@webmail.muohio.edu> Subject: Re: domain names, named, and all the problems that go with it. Date: Mon, 11 Nov 2002 09:32:55 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: "Mike Berning" Subject: domain names, named, and all the problems that go with it. > I registered a domain name from godaddy.com. They say you must select two > name servers to list on so I chose two of their park servers. I used their > website to add myself to one of the root servers and it worked fine. I now > want to run my own name server because I want to have several subdomains > such as 'person.example.com' and 'person2.example.com'. I took myself out > of the root nameserver with godaddy.com. I read the FreeBSD handbook about > how to run a nameserver, and here is what I have done. > Quite possible that 'removing myself from root nameserver' is an issue. Your registrar (in this case godaddy.com) must have a record of *some* two nameservers to place in the global system. From your FreeBSD box, do 'whois yourname.com' ....note carefully which nameservers are listed for your domain. If there are none.....well..... If they exist, make sure that THEY are resolvable by DNS. With my registrar, I had to go in and "register" my two nameservers (which I run) because the root servers didn't know where to look for them, even though they were broadcasting DNS info to whomever should desire it. This consisted of adding their names and IP addresses to a database via a web form. > my named.conf has this added to it. let's say my domain is example.com and > my my ip is 65.24.x.x > > options { > directory "/etc/namedb"; > } > zone "example.com" { > type master; > file "example.com.db"; > }; > > and this is what I put in example.com.db > > example.com. IN SOA ns1.example.com. admin.example.com. ( > 2002111005 ; Serial > 30M ; Refresh > 3600 ; Retry > 604800 ; Expire > 86400 ) ; Minimum TTL > > ; DNS Servers > @ IN NS ns1.example.com. > > ; Machine Names > localhost IN A 127.0.0.1 > ns1 IN A 65.24.x.x > @ IN A 65.24.x.x > > ; Aliases > person IN CNAME @ > > I want to run the nameserer and the http server from the same computer. > Not necessarily a problem. It is, however, a good idea to have two. There are some sites, I understand, which will give you a free secondary.... If would also recommend denoting your 'subdomains' by name rather than with wildcards, but that is an arguable recommendation... > Now when I type in http://example.com I get nothing. Does anybody have an > idea about what I should do. Thanks for the help. > Don't give up, keep working out the 'hairy details.' You'll feel better when it's done :-) Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message