Re: Problems with djbdns

2004-03-24 Thread Denis R.
What does /etc/hosts show?
/etc/resolv.conf?
/etc/dnscache/env/IP (or whatever directory you're using)
/etc/tinydns/env/IP ( -- "" -- )
/etc/dnscache/env/ROOT ( -- "" -- )
/etc/tinydns/env/ROOT ( -- "" -- )

ls -la /etc/dnscache/root/ip/

and finally:
ifconfig -A
Do you use 2 assigned IP's to one NIC?

Regards!
Denis

>>>

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.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with djbdns

2004-03-23 Thread User Thrawn
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.
.birch.se:127.53.0.1:a:2592
.10.168.192.in-addr.arpa:127.53.0.1:a:2592

#Hosts

=dasboot.birch.se:192.168.10.1:864
=setiathome.birch.se:192.168.10.10:864
=hphora.birch.se:192.168.10.111:864
=thrawn.birch.se:192.168.10.201:864
=maria.birch.se:192.168.10.202:864
=anders.birch.se:192.168.10.203:864
=ttd.birch.se:192.168.10.204:864

#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:864

#DNS servers

.ns.birch.se:192.168.10.10:a:2592
.ns2.birch.se:192.168.10.1:a:2592
.ns3.birch.se:192.168.10.201:a:2592

=ns.birch.se:192.168.10.10:864
=ns2.birch.se:192.168.10.1:864
=ns3.birch.se:192.168.10.201:864

#DNS root servers:

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"