# Option to block/not forward all AAAA queries

**URL:** https://discourse.pi-hole.net/t/option-to-block-not-forward-all-aaaa-queries/34837
**Category:** Implemented
**Created:** [June 24, 2020, 12:27pm UTC](https://discourse.pi-hole.net/t/option-to-block-not-forward-all-aaaa-queries/34837 "2020-06-24T12:27:17Z")
**Posts on this page:** 1
**Showing post:** 35

<div class="post-metadata">

### Author: ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)
#### Post date: [July 6, 2020, 8:34pm UTC](https://discourse.pi-hole.net/t/option-to-block-not-forward-all-aaaa-queries/34837/35 "2020-07-06T20:34:53Z")

</div>

This adds an option to limit regular expressions to specific query types:

> [@RegEx engine improvements](https://discourse.pi-hole.net/t/regex-engine-improvements/34751/31):
>
> New feature: Apply regex only to a specific query type. Example: abc;querytype=AAAA will block dig AAAA abc but not dig A abc This is still experimental. Tests would be appreciated.

You could try this with an regex + query type `AAAA`:

```auto
;querytype=AAAA

```

Note that this is still an experimental feature and may not fully work under all circumstances. However, I'm thankful for reports if something doesn't work.

---

_[View the full topic](https://discourse.pi-hole.net/t/option-to-block-not-forward-all-aaaa-queries/34837)._
