From owner-freebsd-stable@FreeBSD.ORG Fri Jun 29 07:03:49 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6372416A41F for ; Fri, 29 Jun 2007 07:03:49 +0000 (UTC) (envelope-from Mark_Andrews@isc.org) Received: from mx.isc.org (mx.isc.org [204.152.184.167]) by mx1.freebsd.org (Postfix) with ESMTP id 4623B13C44C for ; Fri, 29 Jun 2007 07:03:49 +0000 (UTC) (envelope-from Mark_Andrews@isc.org) Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "farside.isc.org", Issuer "ISC CA" (verified OK)) by mx.isc.org (Postfix) with ESMTP id 0AAD411402A for ; Fri, 29 Jun 2007 06:18:45 +0000 (UTC) (envelope-from Mark_Andrews@isc.org) Received: from drugs.dv.isc.org (localhost.isc.org [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "drugs.dv.isc.org", Issuer "ISC CA" (verified OK)) by farside.isc.org (Postfix) with ESMTP id F387AE6095 for ; Fri, 29 Jun 2007 06:18:43 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.1/8.14.1) with ESMTP id l5T6IdKh094840; Fri, 29 Jun 2007 16:18:40 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200706290618.l5T6IdKh094840@drugs.dv.isc.org> To: "Minseok Choi" From: Mark Andrews In-reply-to: Your message of "Thu, 28 Jun 2007 23:01:00 MST." Date: Fri, 29 Jun 2007 16:18:39 +1000 Sender: Mark_Andrews@isc.org Cc: freebsd-stable@freebsd.org, ait ^__~ Subject: Re: BIND Configuration X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 07:03:49 -0000 > Yes, dns-server itself seems to work very well. when I query some public > domains - google.com, yahoo.com -, the result is fine. > but when I put zone files to /etc/namedb/named.conf, the domain is not > resolved. What is your search path (resolv.conf)? Note dhclient.conf controls this if you get your addresses via dhcp. > One more thing, /etc/resolv.conf is changed whenever the server reboot > because the server get dynamic IP from ISP. Assuming DHCP look at dhclient.conf. e.g. interface "sis0" { supersede domain-name "dv.isc.org isc.org"; prepend domain-name-servers 127.0.0.1; } > On 6/28/07, ait ^__~ wrote: > > > > If iget it correct - name resolving don't work at all. Is name resolving > > works on dns-server itself? Maybe you want to check configs in your > > /etc/resolv.conf file on your dns-server. > > > > 2007/6/29, Minseok Choi : > > > > > > Hi, I am digging on how to make home server. > > > The home server is for Wireless AP, file server, samba and LAMP. > > > The current progress is almost done but I can't solve this problem so > > > far. > > > > > > I have 3 PCs. One is home server and the others(A, B) are WinXP. > > > I have to know A's IP to access A because WinXP got dynamic IP from the > > > Home > > > Server. > > > > > > Is there any way to assign real name instead of IP. I am trying to use > > > BIND > > > like the below. > > > After the configuration, nslookup said the names - bellevue, issaquah > > > and > > > sammanish - can't be found. > > > I'd merely like to access PCs using real name. If you have any idea or > > > information, please let me know. > > > > > > ---------------------------------------- > > > /etc/named.conf > > > > > > zone "intranet" { > > > type master; > > > file "master/intranet.zone" > > > } > > > > > > zone "0.168.192.IN-ADDR.ARPA" { > > > type master; > > > file "master/intranet.rev" > > > } > > > ---------------------------------------- > > > /etc/master/intranet.zone > > > @ IN SOA localhost. root.localhost. ( > > > 20070628 ; Serial > > > 3600 ; Refresh > > > 900 ; Retry > > > 3600000 ; Expire > > > 3600 ) ; Minimum > > > IN NS localhost. > > > bellevue IN A 192.168.0.1 > > > issaquah IN A 192.168.0.2 > > > sammamish IN A 192.168.0.3 > > > > > > ---------------------------------------- > > > /etc/master/intranet.rev > > > > > > $TTL 3600 > > > > > > @ IN SOA localhost. root.localhost . ( > > > 20070628 ; Serial > > > 3600 ; Refresh > > > 900 ; Retry > > > 3600000 ; Expire > > > 3600 ) ; Minimum > > > IN NS localhost. > > > 1 IN PTR bellevue. > > > 2 IN PTR issaquah. > > > 3 IN PTR sammamish. These should be "bellevue.intranet", etc. > > > _______________________________________________ > > > freebsd-stable@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > > > " > > > > > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org