From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 17:38:40 2005 Return-Path: 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 118D516A4CE for ; Tue, 25 Jan 2005 17:38:40 +0000 (GMT) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FA4D43D31 for ; Tue, 25 Jan 2005 17:38:39 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from bsdbox.farid-hajji.net (bsdbox [192.168.254.3]) by fw.farid-hajji.net (Postfix) with ESMTP id 57AAB4ADA4; Tue, 25 Jan 2005 18:33:51 +0100 (CET) Date: Tue, 25 Jan 2005 18:39:52 +0100 From: cpghost@cordula.ws To: ZaiD Dashti Message-ID: <20050125173952.GA1526@bsdbox.farid-hajji.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i cc: freebsd-questions@FreeBSD.org Subject: Re: DNS problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 17:38:40 -0000 On Tue, Jan 25, 2005 at 03:45:22PM +0000, ZaiD Dashti wrote: > hello > > i have a problem with my DNS server. > > first, i have a registered domain name and i want to change its NS server > to my server to host it in my home (just for learning about DNS) If you have a domain, you must setup at least two different DNS servers. Both must be on physically different networks. Are you sure that the domain is set up properly? I could dig from here, but since you didn't specify the domain... > second (the problem), when i use nslookup from another computers in my > local network, the dns > server works fine, but when external connection (internet connection, let > say my friend connection) tryies to use my dns server, i got error message > "DNS request timed out", why ? and how to solve it ? How long since you redirected the nameserver records from your registrar account? It can take up to 72 hours for the changes to propagate, depending on the TLD. Some TLD propagate changes much faster now, but it can still takes many hours all DNS caches to expire old stuff. > NOTE: i have an ADSL account, which mean i'm using a router to connect to > the internet, and i'm redirection all ports from the external connections > to my machine ip, so that i'm able to open a server or to connect to my > machine from anywhere. Running a DNS server from an ADSL link is not recommended. Are you sure that your ISP is not blocking port 53 to your fixed address? And are you sure that your DNS server is actually listening on the public interface at all (if you have a multi-homed host) a.k.a does sockstat -46l show something like *:53? > thanks Cheers, -cpghost. -- Cordula's Web. http://www.cordula.ws/