Skip to content

cloudflares https://1.1.1.1/cdn-cgi/trace and https://1.0.0.1/cdn-cgi/trace are not returning the client ip anymore #216

@cchriso

Description

@cchriso

Describe the bug
I noticed my ddns updates are updated with a weird ip address and I had a look at the code - I saw that the cloudflare /cdn-cgi/trace endpoint are giving back a strange IP (104.18.0.0) and not my client ip as usual, so we have to find another way to get the current ip. I found that https://cloudflare.com/cdn-cgi/trace is still serving the correct client IP, I will submit a PR that fixes this probably today.
I was not able to find docs regarding a change to that endpoint from cloudflare. So maybe it is a fluke/hiccup and cloudflare will fix it

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://1.1.1.1/cdn-cgi/trace and see the ip for yourself

Expected behavior
that it returns the client ip

Screenshot

Image Image

Additional context
I understand that this is a cloudflare issue, nonetheless the application is not working

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions