View Single Post
  #3   (View Single Post)  
Old 21st December 2012
scrummie02 scrummie02 is offline
Port Guard
 
Join Date: Nov 2011
Posts: 27
Default

Quote:
Originally Posted by J65nko View Post
If you run tcpdump to tap the port 53 traffic, do you see outgoing DNS requests like I do when doing a "dig www.openbsd.org"?

Code:
$ tcpdump -Xni re0 port 53

22:02:20.211830 192.168.222.20.3960 > 192.168.222.10.53: 29001+ A? www.openbsd.org. (33)
  0000: 4500 003d ee15 0000 4011 0000 c0a8 de14  E..=î...@...À¨Þ.
  0010: c0a8 de0a 0f78 0035 0029 3dab 7149 0100  À¨Þ..x.5.)=«qI..
  0020: 0001 0000 0000 0000 0377 7777 076f 7065  .........www.ope
  0030: 6e62 7364 036f 7267 0000 0100 01         nbsd.org.....

22:02:20.571070 192.168.222.10.53 > 192.168.222.20.3960: 29001 1/0/0 A 129.128.5.194 (49)
  0000: 4500 004d 38c3 0000 4011 046d c0a8 de0a  E..M8Ã..@..mÀ¨Þ.
  0010: c0a8 de14 0035 0f78 0039 9c99 7149 8180  À¨Þ..5.x.9..qI..
  0020: 0001 0001 0000 0000 0377 7777 076f 7065  .........www.ope
  0030: 6e62 7364 036f 7267 0000 0100 01c0 0c00  nbsd.org.....À..
  0040: 0100 0100 0151 8000 0481 8005 c2         .....Q......Â
re0 is my NIC, my workstation is 192.168.222.20 and my local nameserver is 192.168.222.10.

So here we see the request as well as the answer.
DNS for the server itself is fine. I installed all of the packages. But when I try DNS requests from the web app nothing comes across the wire. It seems that the chroot is preventing from doing so. I suspect a binary or library must be missing.
Reply With Quote