# Passive DNS

**URL:** <https://community.zeek.org/t/passive-dns/4668>\
**Category:** Zeek\
**Created:** [February 15, 2017, 2:28am UTC](https://community.zeek.org/t/passive-dns/4668 "2017-02-15T02:28:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cherish](https://avatars.discourse-cdn.com/v4/letter/c/3e96dc/32.png) [@cherish](https://community.zeek.org/u/cherish)\
**Post date:** [February 15, 2017, 2:28am UTC](https://community.zeek.org/t/passive-dns/4668/1 "2017-02-15T02:28:31Z")

</div>

hi,i’m learning “Using Bro for Building Passive DNS Data”, and i encounter the error(Permission denied) in executing these two long command.

BRO\_PDNS\_DB=mysql://pdns:pdns@localhost/pdns /nsm/bro/share/bro/site/bro-pdns/bro\_pdns.py serve  
BRO\_PDNS\_DB=mysql://pdns:pdns@localhost/pdns /nsm/bro/share/bro/site/bro-pdns/bro\_pdns.py process /nsm/bro/logs/current/dns.log

Thanks for your reading ,would you please give me some advice ?

---

<div class="post-metadata">

**Author:** ![Hartley\_Christopher](https://avatars.discourse-cdn.com/v4/letter/h/f4b2a3/32.png) [@Hartley\_Christopher](https://community.zeek.org/u/Hartley_Christopher)\
**Post date:** [February 15, 2017, 5:18am UTC](https://community.zeek.org/t/passive-dns/4668/2 "2017-02-15T05:18:27Z")

</div>

Do you have execute privileges for the python script?

Probably:  
chmod u+x /nsm/bro/share/bro/site/bro-pdns/bro\_pdns.py

Apologies if that’s not the case - I would expect a more descriptive error message or stack trace were that not the cause.

Chris

---

<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:44pm UTC](https://community.zeek.org/t/passive-dns/4668/3 "2022-05-06T15:44:38Z")

</div>


