Layn
15th March 2006, 10:16
Hello,
This is my first post, im having problem installing djbdns in RE4 (update 2) under vmware.
I have done this guide (http://kerneltrap.org/node/1014).
I already have this guide in another system (Debian testing and another RE4) and it run perfect.
But under vmware, i have resolv dns querys in localhost, but i another machine cant resolv using this dnscache, example:
dnscache server: IP 172.16.6.20
dnscache client: IP 172.16.6.9
dnscache#pwd
/var/dns/dnscache/root/ip
dnscache#ls -1
127.0.0.1
172.16.6
dnscache# dig @localhost google.es
; DiG 9.2.4 @localhost google.es
;; global options: printcmd
;; connection timed out; no servers could be reached
This is strange, localhost no resolv, but no problem, this run:
dnscache# dig @172.16.6.20 google.com
; <<>> DiG 9.2.4 <<>> @172.16.6.20 google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14623
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 64.233.167.99
google.com. 300 IN A 72.14.207.99
google.com. 300 IN A 64.233.187.99
;; Query time: 180 msec
;; SERVER: 172.16.6.20#53(172.16.6.20)
;; WHEN: Wed Mar 8 03:17:11 2006
;; MSG SIZE rcvd: 76
Now from client (172.16.6.9)
client#dig @172.16.6.20 google.com
; <<>> DiG 9.2.4 <<>> @172.16.6.20 google.com
;; global options: printcmd
;; connection timed out; no servers could be reached
No answer. But what see the dnscache server?
Log:
dnscache#tail -f /var/dns/dnscache/log/main/current
-------------------nothing appear while client try resolv----------------
tcpdump:
dnscache#tcpdump -ni eth0 udp port 53 -X
03:19:16.649158 IP 172.16.6.9.32788 > 172.16.6.20.domain: 8306+ A? google.com. (28)
0x0000: 4500 0038 0000 4000 4011 d677 ac10 0609 E..8..@.@..w....
0x0010: ac10 0614 8014 0035 0024 e6f3 2072 0100 .......5.$...r..
0x0020: 0001 0000 0000 0000 0667 6f6f 676c 6503 .........google.
0x0030: 636f 6d00 0001 0001 com.....
03:19:20.328967 IP 172.16.6.9.32788 > 172.16.6.20.domain: 8306+ A? google.com. (28)
0x0000: 4500 0038 0001 4000 4011 d676 ac10 0609 E..8..@.@..v....
0x0010: ac10 0614 8014 0035 0024 e6f3 2072 0100 .......5.$...r..
0x0020: 0001 0000 0000 0000 0667 6f6f 676c 6503 .........google.
0x0030: 636f 6d00 0001 0001 com.....
The consults is comming but no answer from the server.
This same configuration in a real server (no vmware) with RE4 run without problems.
Anyone have any idea ? Why this dnscache in vmware machine, no respond to other machines ?
As you can see in /var/dns/dnscache/root/ip there is a file call 172.16.6 i also probe 172.16.6.9 with the same results, dont work.
Thanks and Regards,
Layn.
This is my first post, im having problem installing djbdns in RE4 (update 2) under vmware.
I have done this guide (http://kerneltrap.org/node/1014).
I already have this guide in another system (Debian testing and another RE4) and it run perfect.
But under vmware, i have resolv dns querys in localhost, but i another machine cant resolv using this dnscache, example:
dnscache server: IP 172.16.6.20
dnscache client: IP 172.16.6.9
dnscache#pwd
/var/dns/dnscache/root/ip
dnscache#ls -1
127.0.0.1
172.16.6
dnscache# dig @localhost google.es
; DiG 9.2.4 @localhost google.es
;; global options: printcmd
;; connection timed out; no servers could be reached
This is strange, localhost no resolv, but no problem, this run:
dnscache# dig @172.16.6.20 google.com
; <<>> DiG 9.2.4 <<>> @172.16.6.20 google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14623
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 64.233.167.99
google.com. 300 IN A 72.14.207.99
google.com. 300 IN A 64.233.187.99
;; Query time: 180 msec
;; SERVER: 172.16.6.20#53(172.16.6.20)
;; WHEN: Wed Mar 8 03:17:11 2006
;; MSG SIZE rcvd: 76
Now from client (172.16.6.9)
client#dig @172.16.6.20 google.com
; <<>> DiG 9.2.4 <<>> @172.16.6.20 google.com
;; global options: printcmd
;; connection timed out; no servers could be reached
No answer. But what see the dnscache server?
Log:
dnscache#tail -f /var/dns/dnscache/log/main/current
-------------------nothing appear while client try resolv----------------
tcpdump:
dnscache#tcpdump -ni eth0 udp port 53 -X
03:19:16.649158 IP 172.16.6.9.32788 > 172.16.6.20.domain: 8306+ A? google.com. (28)
0x0000: 4500 0038 0000 4000 4011 d677 ac10 0609 E..8..@.@..w....
0x0010: ac10 0614 8014 0035 0024 e6f3 2072 0100 .......5.$...r..
0x0020: 0001 0000 0000 0000 0667 6f6f 676c 6503 .........google.
0x0030: 636f 6d00 0001 0001 com.....
03:19:20.328967 IP 172.16.6.9.32788 > 172.16.6.20.domain: 8306+ A? google.com. (28)
0x0000: 4500 0038 0001 4000 4011 d676 ac10 0609 E..8..@.@..v....
0x0010: ac10 0614 8014 0035 0024 e6f3 2072 0100 .......5.$...r..
0x0020: 0001 0000 0000 0000 0667 6f6f 676c 6503 .........google.
0x0030: 636f 6d00 0001 0001 com.....
The consults is comming but no answer from the server.
This same configuration in a real server (no vmware) with RE4 run without problems.
Anyone have any idea ? Why this dnscache in vmware machine, no respond to other machines ?
As you can see in /var/dns/dnscache/root/ip there is a file call 172.16.6 i also probe 172.16.6.9 with the same results, dont work.
Thanks and Regards,
Layn.