# PacketBeat DNS protocol wrong registered\_domain when uppercase

**URL:** <https://discuss.elastic.co/t/packetbeat-dns-protocol-wrong-registered-domain-when-uppercase/267021>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [March 12, 2021, 1:52am UTC](https://discuss.elastic.co/t/packetbeat-dns-protocol-wrong-registered-domain-when-uppercase/267021 "2021-03-12T01:52:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![glee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glee/32/85427_2.png) [@glee](https://discuss.elastic.co/u/glee)\
**Post date:** [March 12, 2021, 1:52am UTC](https://discuss.elastic.co/t/packetbeat-dns-protocol-wrong-registered-domain-when-uppercase/267021/1 "2021-03-12T01:52:44Z")

</div>

Goodday.  
I'm monitoring my powerdns with packetbeat and elasticsearch.

When domain query with all lowercase, everything is fine.

ex) dig sub.example.co.kr

```auto
dns.question.name : sub.example.co.kr
dns.question.registered_domain : example.co.kr
dns.question.subdomain : sub

```

but when top level domain has uppercase, couldn't get exact registered domain

ex) dig sub.example.co.KR

```auto
dns.question.name : sub.example.co.KR
dns.question.registered_domain : co.KR
dns.question.subdomain : sub.example

```

DNS Answer doesn't care whether domain uppercase or lowercase

and I found that registered domain uses list of public suffix list  
( [View the Public Suffix List](https://publicsuffix.org/list/) )

Is it possible to get exact registered\_domain with uppercase top level domain?

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 9, 2021, 3:53am UTC](https://discuss.elastic.co/t/packetbeat-dns-protocol-wrong-registered-domain-when-uppercase/267021/2 "2021-04-09T03:53:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
