# \[Bro-Commits\] \[git/bro\] topic/seth/dns-updates: Fixed some bugs with capturing data in the base DNS script. (04e2773)

**URL:** <https://community.zeek.org/t/bro-commits-git-bro-topic-seth-dns-updates-fixed-some-bugs-with-capturing-data-in-the-base-dns-script-04e2773/2147>\
**Category:** Development\
**Tags:** development\
**Created:** [December 8, 2011, 6:15pm UTC](https://community.zeek.org/t/bro-commits-git-bro-topic-seth-dns-updates-fixed-some-bugs-with-capturing-data-in-the-base-dns-script-04e2773/2147 "2011-12-08T18:15:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthias\_Vallentin1](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/matthias_vallentin1/32/596_2.png) [@Matthias\_Vallentin1](https://community.zeek.org/u/Matthias_Vallentin1)\
**Post date:** [December 8, 2011, 6:15pm UTC](https://community.zeek.org/t/bro-commits-git-bro-topic-seth-dns-updates-fixed-some-bugs-with-capturing-data-in-the-base-dns-script-04e2773/2147/1 "2011-12-08T18:15:50Z")

</div>

> @@ -140,15 +140,11 @@ event DNS::do\_reply(c: connection, msg: dns\_msg, ans: dns\_answer, reply: string)

What is the reason for the DNS:: namespace of the event handler? I  
looks like it could be removed, since the file specifies "module DNS"  
at the top already without changing that before do\_reply again.

&nbsp;&nbsp;&nbsp;&nbsp;Matthias

---

<div class="post-metadata">

**Author:** ![Seth\_Hall3](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Seth\_Hall3](https://community.zeek.org/u/Seth_Hall3)\
**Post date:** [December 8, 2011, 7:20pm UTC](https://community.zeek.org/t/bro-commits-git-bro-topic-seth-dns-updates-fixed-some-bugs-with-capturing-data-in-the-base-dns-script-04e2773/2147/2 "2011-12-08T19:20:09Z")

</div>

If I remember correctly there is a bug (or feature?) with handling non-global events where they always need to be fully scoped. Normally, people don't see this (and the reason the bug is there) because all of the core generated events are in the GLOBAL namespace.

&nbsp;&nbsp;.Seth

---

<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:40pm UTC](https://community.zeek.org/t/bro-commits-git-bro-topic-seth-dns-updates-fixed-some-bugs-with-capturing-data-in-the-base-dns-script-04e2773/2147/3 "2022-05-06T15:40:03Z")

</div>

Closed on May 6, 2022, 3:40pm UTC


