From root@krunk.homeunix.org  Sun Jan  9 17:12:20 2005
Return-Path: <root@krunk.homeunix.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DAF5D16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  9 Jan 2005 17:12:20 +0000 (GMT)
Received: from imf16aec.mail.bellsouth.net (imf16aec.mail.bellsouth.net [205.152.59.64])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 52BC543D49
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  9 Jan 2005 17:12:20 +0000 (GMT)
	(envelope-from root@krunk.homeunix.org)
Received: from server.krunk.homeunix.org ([68.212.93.30])
          by imf16aec.mail.bellsouth.net
          (InterMail vM.5.01.06.11 201-253-122-130-111-20040605) with ESMTP
          id <20050109171219.MKMG1992.imf16aec.mail.bellsouth.net@server.krunk.homeunix.org>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sun, 9 Jan 2005 12:12:19 -0500
Received: from localhost (localhost [127.0.0.1])
	by server.krunk.homeunix.org (Postfix) with ESMTP id 7AAA7197
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  9 Jan 2005 11:18:01 -0600 (CST)
Received: from server.krunk.homeunix.org ([127.0.0.1])
 by localhost (server.krunk.homenix.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 82802-05 for <FreeBSD-gnats-submit@freebsd.org>;
 Sun,  9 Jan 2005 11:18:01 -0600 (CST)
Received: by server.krunk.homeunix.org (Postfix, from userid 0)
	id 1AF2C194; Sun,  9 Jan 2005 11:18:01 -0600 (CST)
Message-Id: <20050109171801.1AF2C194@server.krunk.homeunix.org>
Date: Sun,  9 Jan 2005 11:18:01 -0600 (CST)
From: krunkalot@hotpop.com
Reply-To: krunkalot@hotpop.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Handbook section on DNS needs updating	
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         75997
>Category:       docs
>Synopsis:       Handbook section on DNS needs updating
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jcamou
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 09 17:20:21 GMT 2005
>Closed-Date:    Fri Jun 24 23:50:06 GMT 2005
>Last-Modified:  Fri Jun 24 23:50:06 GMT 2005
>Originator:     
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD server.krunk.homeunix.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
The DNS section is incorrect in a couple of areas. Those I have noted are: 
1) The configuration tool is now rndc not ndc
2) No mention of setting up rndc in named.conf. Produces an error of:
rndc: connect failed: connection refused
3) sh make-localhost does not create localhost.rev in /etc/namedb but in /etc/namedb/master
	
>How-To-Repeat:
	
>Fix:
update the handbook

	


>Release-Note:
>Audit-Trail:

From: Matteo Riondato <matteo@freebsd.org>
To: "mailto:bug-followup"@FreeBSD.org, krunkalot@hotpop.com
Cc:  
Subject: Re: docs/75997: Handbook section on DNS needs updating
Date: Wed, 22 Jun 2005 14:04:53 +0200

 About 1): According to the rndc(8), this utility does not yet support
 all the commands of the BIND 8 ndc utility so I would not change this
 yet
 
 About 2): I didn't get it. Can you please explain this again? Thanks.
 
 About 3): Patch follows (can be found at
 http://people.freebsd.org/~matteo/diff/handbook-dns.diff)
 
 --- chapter.sgml.orig	Wed Jun 22 13:24:38 2005
 +++ chapter.sgml	Wed Jun 22 13:40:35 2005
 @@ -3236,7 +3236,7 @@
          <screen>&prompt.root; <userinput>cd /etc/namedb</userinput>
  &prompt.root; <userinput>sh make-localhost</userinput></screen>
          <para>to properly create the local reverse DNS zone file in
 -          <filename>/etc/namedb/localhost.rev</filename>.
 +          <filename>/etc/namedb/master/localhost.rev</filename>.
          </para>
        </sect3>
  
 @@ -3728,7 +3728,7 @@
  &prompt.root; <userinput>mv named.conf etc && ln -sf etc/named.conf</userinput>
  &prompt.root; <userinput>mv named.root master</userinput>
  <!-- I don't like this next bit -->
 -&prompt.root; <userinput>sh make-localhost && mv localhost.rev localhost-v6.rev master</userinput>
 +&prompt.root; <userinput>sh make-localhost</userinput>
  &prompt.root; <userinput>cat > master/named.localhost
  $ORIGIN localhost.
  $TTL 6h
 
 Hope someone will commit this.
 Best Regards
 -- 
 Matteo Riondato
 FreeBSD Volunteer (http://freebsd.org)
 G.U.F.I. Staff Member (http://www.gufi.org)
 FreeSBIE Developer (http://www.freesbie.org)
Responsible-Changed-From-To: freebsd-doc->jcamou  
Responsible-Changed-By: jcamou 
Responsible-Changed-When: Wed Jun 22 21:28:43 GMT 2005 
Responsible-Changed-Why:  
Take it, I'm working on it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75997 
State-Changed-From-To: open->closed  
State-Changed-By: jcamou 
State-Changed-When: Fri Jun 24 23:47:56 GMT 2005 
State-Changed-Why:  
Some of the changes on this pr have been committed, thanks 
Matteo for generating the patch and thanks to the submitter 
for letting us know.  

http://www.freebsd.org/cgi/query-pr.cgi?pr=75997 
>Unformatted:
