Hello, All!

I can't resolve DNS names via dnscache DNS server on my OpenBSD
machine. Help me, plz!

My configuration:
# uname -a
OpenBSD mydomain.com 3.7 GENERIC#50 i386

# svstat /service/dnscache
/service/dnscache: up (pid 24310) 2239 seconds

# ps auxww
[skip]
readproctitle service errors: .............................
[skip]
Nothing criminal.

# cat /etc/dnscache/env/IP /etc/dnscache/env/IPSEND
10.0.0.1
10.0.0.1

# ifconfig vr0
vr0: flags=8843 mtu 1500
address: 00:0f:3d:df:b6:1b
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
inet6 fe80::20f:3dff:fedf:b61b%vr0 prefixlen 64 scopeid 0x1

On interface vr0 (10.0.0.1) only dnscache (no tinydns, no BIND).

# ls /etc/dnscache/root/ip/
10.0.0 127.0.0.1

# cat /etc/dnscache/root/servers/@
198.41.0.4
[skip root DNS servers]
202.12.27.33

# tail -13 /etc/dnscache/log/main/current
@4000000042fb4a710878d89c starting
@4000000042fb4a960ee64ee4 query 1 0a000005:0271:811e 1 login.icq.com.
@4000000042fb4a960eebb5b4 tx 0 1 login.icq.com. . c0249411 c6290004
c021040c c0702404 803f0235 8009006b c620400c c0cbe61a c629100a c00505f1
80080a5a ca0c1b21 c1000e81
@4000000042fb4ab91ffe77c4 query 2 0a00000b:0bc4:0060 1 ar.atwola.com.
@4000000042fb4ab9200161dc tx 0 1 ar.atwola.com. . c620400c c0702404
8008006b c0249411 80080a5a ca0c1b21 c629000a c121040c c00505f1 c0cbe60a
c6290004 c1000e81 803f0235
@4000000042fb4da330b67f44 servfail login.icq.com. input/output error
@4000000042fb4da330bcfb6c sent 1 31
@4000000042fb4dc705cc17bc servfail ar.atwola.com. input/output error
@4000000042fb4dc705d0af84 sent 2 31

# host -a localhost 127.0.0.1
Trying "localhost"
;; connection timed out; no servers could be reached
[if I try another DNS servers all lookups work fine]

# tcpdump -i vr0 udp
tcpdump: listening on vr0, link-type EN10MB
17:42:02.282723 tux.mydomain.com.1142 > 10.0.0.1.domain: 30002+ A?
yahoo.com. (27) (DF)
[and no answers]

# ls -ld /etc/dnscache
drwxr-sr-t 6 root wheel 512 Aug 11 16:53 /etc/dnscache
Is this right?


--
With best regards, Valentin