# In Rules, ipv6 IP address comes \[sorry, resend\]

**URL:** <https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216>\
**Category:** Get Help\
**Tags:** ip, rules\
**Created:** [October 8, 2020, 6:10am UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216 "2020-10-08T06:10:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbsh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kbsh/32/24783_2.png) [@kbsh](https://community.auth0.com/u/kbsh)\
**Post date:** [October 8, 2020, 6:10am UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216/1 "2020-10-08T06:10:48Z")

</div>

I want to check IP address whitelist, so I get `context.request.ip`.

Until October 5th, it was `ipv4` address.  
Since October 5th, it is `ipv6` address.

Because ipv6 address changes everyday, I cannnot check IP address whitelist.

It maybe happens only free plan account.  
What happen??

---

<div class="post-metadata">

**Author:** ![kbsh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kbsh/32/24783_2.png) [@kbsh](https://community.auth0.com/u/kbsh)\
**Post date:** [October 9, 2020, 7:11am UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216/2 "2020-10-09T07:11:30Z")

</div>

It happened when “password reset”.  
The plan didn’t matter.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 9, 2020, 12:10pm UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216/3 "2020-10-09T12:10:18Z")

</div>

Hey there!

Thank you for reporting that. Let me test and confirm that and get back to you soon with the news I have.

---

<div class="post-metadata">

**Author:** ![kbsh](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kbsh/32/24783_2.png) [@kbsh](https://community.auth0.com/u/kbsh)\
**Post date:** [October 11, 2020, 11:44am UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216/5 "2020-10-11T11:44:15Z")

</div>

Thank you for investigating.

sorry.  
It was not the effect of a password reset.

Suddenly I was able to pick up the ipv4 address, and suddenly it became the ipv6 address.

It seems to be different depending on the connected person, not the account, so it may be due to my network.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 12, 2020, 8:30am UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216/6 "2020-10-12T08:30:59Z")

</div>

okok gotchya! Can you then try analyzing it on your end and troubleshoot where it might be coming from?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 19, 2020, 12:27pm UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216/7 "2020-10-19T12:27:45Z")

</div>

Hey there!

Have you had a chance to check my previous message?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 26, 2020, 10:26am UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216/8 "2020-10-26T10:26:34Z")

</div>

Ping ping friendly ping 🙂

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 30, 2020, 11:16am UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216/9 "2020-10-30T11:16:37Z")

</div>



---

<div class="post-metadata">

**Author:** ![tanver.hasan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tanver.hasan/32/40750_2.png) [@tanver.hasan](https://community.auth0.com/u/tanver.hasan)\
**Post date:** [November 23, 2020, 2:16pm UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216/10 "2020-11-23T14:16:43Z")

</div>

`context.request.ip` in Rule may expose IPv6 address due to our ongoing edge network migration. New edge network supports both IPv4 and IPv6 address. There are no settings available to disable this functionality. If you are processing or have some sort of allowList in Rule, please ensure that you are checking with the correct version of IP.

The range\_check library for example has a version method that should make this a fairly trivial check to implement. It should be as simple as including a version check before attempting any matches. See [range\_check - npm](https://www.npmjs.com/package/range_check#version) for more information.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 24, 2020, 11:36am UTC](https://community.auth0.com/t/in-rules-ipv6-ip-address-comes-sorry-resend/51216/11 "2020-11-24T11:36:42Z")

</div>

Thanks @tanver.hasan for sharing that!
