# how simply disable dns in last bro ?

**URL:** <https://community.zeek.org/t/how-simply-disable-dns-in-last-bro/504>\
**Category:** Zeek\
**Created:** [April 27, 2004, 5:19pm UTC](https://community.zeek.org/t/how-simply-disable-dns-in-last-bro/504 "2004-04-27T17:19:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vern](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/vern/32/630_2.png) [@Vern](https://community.zeek.org/u/Vern)\
**Post date:** [April 27, 2004, 5:19pm UTC](https://community.zeek.org/t/how-simply-disable-dns-in-last-bro/504/1 "2004-04-27T17:19:41Z")

</div>

> $ /usr/local/bin/bro08a81 -r  
> /home/f/200401121453-iptcpudpfrag-telefonicaESP.tcpdump mt  
> /L/policy/scan.bro, line 91: internal error: NB-DNS error in  
> DNS\_Mgr::WaitForReplies (recvfrom(): Connection refused)

You can do this by editing Makefile and removing "nb\_dns.o" from  
the "OBJ =" target (it's at the very end), and editing config.h to  
change

&nbsp;&nbsp;#define HAVE\_NB\_DNS

to

&nbsp;&nbsp;#undef HAVE\_NB\_DNS

Finally, set the environment variable $BRO\_DNS\_FAKE.

If someone would contribute the necessary autoconf magic to do this  
automatically, that would be great - it's beyond my meager autoconf  
skills.

&nbsp;&nbsp;&nbsp;&nbsp;Vern

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:37pm UTC](https://community.zeek.org/t/how-simply-disable-dns-in-last-bro/504/2 "2022-05-06T15:37:01Z")

</div>


