Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th March 2006, 10:16
Layn Layn is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default djbdns in redhat enterprise 4 update 2 under vmware.

Hello,
This is my first post, im having problem installing djbdns in RE4 (update 2) under vmware.
I have done this guide.
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
Code:
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:
Code:
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)
Code:
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:
Code:
dnscache#tail -f /var/dns/dnscache/log/main/current
-------------------nothing appear while client try resolv----------------
tcpdump:

Code:
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.
Reply With Quote
Sponsored Links
  #2  
Old 15th March 2006, 11:33
Layn Layn is offline
Junior Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Sorry, it was iptables

Layn.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.