# Add option to strip (ignore) AAAA records of chosen domains

**URL:** https://discourse.pi-hole.net/t/add-option-to-strip-ignore-aaaa-records-of-chosen-domains/38307
**Category:** Implemented
**Created:** [September 13, 2020, 7:25am UTC](https://discourse.pi-hole.net/t/add-option-to-strip-ignore-aaaa-records-of-chosen-domains/38307 "2020-09-13T07:25:28Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)
#### Post date: [September 13, 2020, 8:27am UTC](https://discourse.pi-hole.net/t/add-option-to-strip-ignore-aaaa-records-of-chosen-domains/38307/2 "2020-09-13T08:27:34Z")

</div>

That will be possible when the improved regex engine is merged into pihole master (currently in development branch). It will allow you to block certain query types. I use it to block all `AAAA` records, but it can be used for certain domains only.

> [@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.

> [@Option to block/not forward all AAAA queries](https://discourse.pi-hole.net/t/option-to-block-not-forward-all-aaaa-queries/34837):
>
> I have a IPv4 only network and would like to block all AAAA queries (~20% of total queries). They will not be of use for any client but increase network traffic anyway.

---

_[View the full topic](https://discourse.pi-hole.net/t/add-option-to-strip-ignore-aaaa-records-of-chosen-domains/38307)._
