From owner-freebsd-questions@FreeBSD.ORG Tue Mar 23 12:41:06 2004 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 E6F0616A4CE for ; Tue, 23 Mar 2004 12:41:05 -0800 (PST) Received: from setiathome.birch.se (unknown [212.116.92.111]) by mx1.FreeBSD.org (Postfix) with SMTP id 3DB3943D39 for ; Tue, 23 Mar 2004 12:41:04 -0800 (PST) (envelope-from tysken@xpress.se) Received: (qmail 5461 invoked by uid 1022); 23 Mar 2004 20:41:01 -0000 Date: Tue, 23 Mar 2004 21:41:01 +0100 From: User Thrawn To: freebsd-questions@freebsd.org Message-ID: <20040323204101.GA94463@setiathome.birch.se> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i cc: thrawn@setiathome.birch.se cc: tysken@xpress.se Subject: Problems with djbdns 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, 23 Mar 2004 20:41:06 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Im runing djbdns on some boxes here at home. I haveing two major problems, The first one is that for some reason the DNS server won't answer queryies. Even thought that I have setup it right (to my knowlage), I might explain how many machines, I have. On thing that I should metion is that my domain is birch.se, and Its only an internal domain name. I have my router computer, its "192.168.10.10". Then I have another one "192.168.10.1". And My workstation that is "192.168.10.201". thrawn.birch.se is .10.201, .10.10 is setiathome.birch.se and the last one is dasboot.birch.se It works fine on .10.201 & .10.1. But for some reason it stopped working. And I desided to tar down the directories in /var, and send it to .10.10. The directories are "/var/{tinydns,dnscache,dnscachex}". I tared down the directories and send them to .10.10. The only thing that I changed was the ip address in "/var/dnscachex/env/IP", from "192.168.10.1" to "192.168.10.10". To get the correct IP address to listenoon setiathome.birch.se. The directories on /var/dns*/root/ip/, have the to following files, 127.0.0.1 and 192.168.10 and it works fine on the two other boxes. The directory /var/dns*/root/servers/ have three files. The names for them are 10.168.192.in-addr.arpa,@ and birch.se, the first and the last file have 127.53.0.1 as enteries. The @-file have some IP addresses. When I start them with svc -u /var/service/* it starts fine. Running in the bg. I can also se them with "netstat -nl -f inet -t {tcp,udp}" But nothing happens, if i try to telnet to 192.168.10.10/127.0.0.1 using port 53. nslookup, dnsip and dnsname can't resolv internal dns names/IPs. I don't se any reason why I don't can copy the directoryies from one box to another box. And then simply change the IP address. The other problem is that when i share my data.old file, located in: /var/tinydns/root/data. Clients using axfr-get, can fetch the file fine. axfrdns is running on port 5300 btw. The I run make in /var/tinydns/root on the slave, boxes. It works fine but then after restaring djbdns. Then I get the smilar problem that I have above, It can resolv external domains and hosts, but not internals like 192.168.x.y and dasboot.birch.se using dnsname/dnsip/nslookup. This is how good I can describe my problem. I have google alot and not found anything that hade help me there. I have also runned some step by step guides. The problem where that I did not get it to work with www.djbdnsrock.org, even thought I did it more the one time. (First i tryied to start from scratch, but it in the end I was forced to copy the setup from setiathome to thrawn to get it up and running) My dns db-file does not look the same after transfering it via axfr-get. I might have something to do with it. Because when i copy it by my self via scp, it works... I have checked host.conf and there dns stands before host(s). I have search in my /etc/resolv.conf file also. I have attatched the db-file. --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="data.old" .birch.se:127.53.0.1:a:25920000 .10.168.192.in-addr.arpa:127.53.0.1:a:25920000 #Hosts =dasboot.birch.se:192.168.10.1:8640000 =setiathome.birch.se:192.168.10.10:8640000 =hphora.birch.se:192.168.10.111:8640000 =thrawn.birch.se:192.168.10.201:8640000 =maria.birch.se:192.168.10.202:8640000 =anders.birch.se:192.168.10.203:8640000 =ttd.birch.se:192.168.10.204:8640000 #MX records @dasboot.birch.se:192.168.10.1:a:10:86400 @setiathome.birch.se:192.168.10.10:a::86400 @thrawn.birch.se:192.168.10.201:a::86400 #Alias +pappa.birch.se:192.168.10.203:8640000 #DNS servers .ns.birch.se:192.168.10.10:a:25920000 .ns2.birch.se:192.168.10.1:a:25920000 .ns3.birch.se:192.168.10.201:a:25920000 =ns.birch.se:192.168.10.10:8640000 =ns2.birch.se:192.168.10.1:8640000 =ns3.birch.se:192.168.10.201:8640000 #DNS root servers: --EVF5PPMfhYS0aIcm--