From owner-freebsd-questions@FreeBSD.ORG Tue Jul 3 10:38:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F32E416A400 for ; Tue, 3 Jul 2007 10:38:52 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from svarun.infrax.si (84-255-241-13.static.dsl.t-2.net [84.255.241.13]) by mx1.freebsd.org (Postfix) with ESMTP id AFDE313C43E for ; Tue, 3 Jul 2007 10:38:52 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (localhost [127.0.0.1]) by svarun.infrax.si (Postfix) with ESMTP id 322FFDA88B for ; Tue, 3 Jul 2007 12:38:49 +0200 (CEST) Received: from svarun.infrax.si ([127.0.0.1]) by localhost (Svarun.infrax.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 55661-06 for ; Tue, 3 Jul 2007 12:38:41 +0200 (CEST) Received: from [192.168.15.2] (unknown [192.168.15.2]) by svarun.infrax.si (Postfix) with ESMTP id 4816CDA859 for ; Tue, 3 Jul 2007 12:38:41 +0200 (CEST) Message-ID: <468A2723.8020207@skoberne.net> Date: Tue, 03 Jul 2007 12:38:27 +0200 From: =?ISO-8859-2?Q?Nejc_=A9koberne?= User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at infrax.si Subject: BIND to listen on all interfaces? 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: Tue, 03 Jul 2007 10:38:53 -0000 Hello, I am running BIND (from base system) on my FreeBSD 5.3 machine. The box is connected to outer world via ADSL connection (tun0 device). If the named is started when the machine is connected to the internet, then everything is OK, I get this by saying netstat -n -a: udp4 0 0 X.X.X.X.53 *.* udp4 0 0 127.0.0.1.53 *.* udp4 0 0 10.0.1.3.53 *.* but at boot time, the named starts before the PPP connection is started, so the tun0 interface is not up yet. So that's why I get this: udp4 0 0 127.0.0.1.53 *.* udp4 0 0 10.0.1.3.53 *.* In BIND manual, it says: "If no listen-on is specified, the server will listen on port 53 on all interfaces." I also tried to specify the ADSL IP address in named.conf (it is static), but it is still a no go. I don't have such problems with other daemons! Any ideas? Thanks, Nejc