[GH-ISSUE #62] Dyndns - /nic/checkip.html doesn't seem to work #42

Closed
opened 2026-02-26 10:35:44 +03:00 by kerem · 3 comments
Owner

Originally created by @trenb on GitHub (Jul 1, 2016).
Original GitHub issue: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/62

Originally assigned to: @ivanfilippov on GitHub.

All I get is "None" as a response when I call it. Am I missing something? I thought this was supposed to return the IP you're coming from.

mine:~ tren$ curl -v "http://10.21.4.1:9393/nic/checkip.html"
*   Trying 10.21.4.1...
* Connected to 10.21.4.1 (10.21.4.1) port 9393 (#0)
> GET /nic/checkip.html HTTP/1.1
> Host: 10.21.4.1:9393
> User-Agent: curl/7.48.0
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Content-Type: text/html; charset=utf-8
< Content-Length: 4
< Server: Werkzeug/0.11.10 Python/2.7.5
< Date: Fri, 01 Jul 2016 21:17:19 GMT
<
* Closing connection 0
None

Thank you!

Originally created by @trenb on GitHub (Jul 1, 2016). Original GitHub issue: https://github.com/PowerDNS-Admin/PowerDNS-Admin/issues/62 Originally assigned to: @ivanfilippov on GitHub. All I get is "None" as a response when I call it. Am I missing something? I thought this was supposed to return the IP you're coming from. ``` mine:~ tren$ curl -v "http://10.21.4.1:9393/nic/checkip.html" * Trying 10.21.4.1... * Connected to 10.21.4.1 (10.21.4.1) port 9393 (#0) > GET /nic/checkip.html HTTP/1.1 > Host: 10.21.4.1:9393 > User-Agent: curl/7.48.0 > Accept: */* > * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Content-Type: text/html; charset=utf-8 < Content-Length: 4 < Server: Werkzeug/0.11.10 Python/2.7.5 < Date: Fri, 01 Jul 2016 21:17:19 GMT < * Closing connection 0 None ``` Thank you!
kerem closed this issue 2026-02-26 10:35:45 +03:00
Author
Owner

@trenb commented on GitHub (Jul 1, 2016):

#63 Fixes this for me

mine:~ tren$ curl -v "http://10.21.4.1:9393/nic/checkip.html"
*   Trying 10.21.4.1...
* Connected to 10.21.4.1 (10.21.4.1) port 9393 (#0)
> GET /nic/checkip.html HTTP/1.1
> Host: 10.21.4.1:9393
> User-Agent: curl/7.48.0
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Content-Type: text/html; charset=utf-8
< Content-Length: 10
< Server: Werkzeug/0.11.10 Python/2.7.5
< Date: Fri, 01 Jul 2016 22:04:29 GMT
<
* Closing connection 0
10.21.4.16
<!-- gh-comment-id:230057481 --> @trenb commented on GitHub (Jul 1, 2016): #63 Fixes this for me ``` mine:~ tren$ curl -v "http://10.21.4.1:9393/nic/checkip.html" * Trying 10.21.4.1... * Connected to 10.21.4.1 (10.21.4.1) port 9393 (#0) > GET /nic/checkip.html HTTP/1.1 > Host: 10.21.4.1:9393 > User-Agent: curl/7.48.0 > Accept: */* > * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Content-Type: text/html; charset=utf-8 < Content-Length: 10 < Server: Werkzeug/0.11.10 Python/2.7.5 < Date: Fri, 01 Jul 2016 22:04:29 GMT < * Closing connection 0 10.21.4.16 ```
Author
Owner

@trenb commented on GitHub (Jul 1, 2016):

lol, you're too fast for me! Thanks for looking into this and fixing it.

<!-- gh-comment-id:230057792 --> @trenb commented on GitHub (Jul 1, 2016): lol, you're too fast for me! Thanks for looking into this and fixing it.
Author
Owner

@ivanfilippov commented on GitHub (Jul 1, 2016):

NP, I'll wait for @ngoduykhanh to accept the PR.

<!-- gh-comment-id:230057948 --> @ivanfilippov commented on GitHub (Jul 1, 2016): NP, I'll wait for @ngoduykhanh to accept the PR.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PowerDNS-Admin-PowerDNS-Admin#42
No description provided.