# Bug with pdns-re cursor - best method to pin a package for a custom build

**URL:** <https://forum.vyos.io/t/bug-with-pdns-re-cursor-best-method-to-pin-a-package-for-a-custom-build/7554>\
**Category:** General questions\
**Created:** [August 11, 2021, 12:02pm UTC](https://forum.vyos.io/t/bug-with-pdns-re-cursor-best-method-to-pin-a-package-for-a-custom-build/7554 "2021-08-11T12:02:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arnoxit](https://forum.vyos.io/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@arnoxit](https://forum.vyos.io/u/arnoxit)\
**Post date:** [August 11, 2021, 12:02pm UTC](https://forum.vyos.io/t/bug-with-pdns-re-cursor-best-method-to-pin-a-package-for-a-custom-build/7554/1 "2021-08-11T12:02:13Z")

</div>

Hi,

We have encountered a bug with the version of pdns-recursor pulled into VyOS 1.4 with debian/bullseye and raised the issue with the pdns maintainers ([Change in behaviour for dont-query between pdns-recursor versions 4.3 and 4.4 · Issue #10638 · PowerDNS/pdns · GitHub](https://github.com/PowerDNS/pdns/issues/10638)).

In the meantime, what would be the best way to temporarily pin the pdns-recursor version that is pulled in when we build a custom iso following the instructions here: [Build VyOS — VyOS 1.4.x (sagitta) documentation](https://docs.vyos.io/en/latest/contributing/build-vyos.html#customize)

Alternatively, what would we need to do to be able to pass through a custom dont-query value into the pdns-recursor config?

Kind Regards,

Kim

---

<div class="post-metadata">

**Author:** ![Viacheslav](https://forum.vyos.io/user_avatar/forum.vyos.io/viacheslav/32/807_2.png) [@Viacheslav](https://forum.vyos.io/u/Viacheslav)\
**Post date:** [August 13, 2021, 5:52pm UTC](https://forum.vyos.io/t/bug-with-pdns-re-cursor-best-method-to-pin-a-package-for-a-custom-build/7554/3 "2021-08-13T17:52:06Z")

</div>

Task [⚓ T3750 pdns-recursor 4.4 issue with dont-query and private DNS servers](https://phabricator.vyos.net/T3750)
