Help: WARN cannot DNS resolve // ERROR doing http request - context deadline exceeded #293

Closed
opened 2025-11-20 04:22:24 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @lonezel on GitHub (Jun 26, 2023).

TLDR: Describe your issue in a one liner here
I get a warning and errors when running the ddns-updater in a docker container and IP addresses are not updated.

  1. Is this urgent: Yes

  2. DNS provider(s) you use: infomaniak

  3. Program version:

running latest version, brand new docker container

  1. What are you using to run the container: docker-compose

Logs:

2023-06-26T23:28:13+02:00 WARN cannot DNS resolve audiobooks.example.ch after 5 tries: lookup audiobooks.example.ch on (localhost-IP):53: read udp (docker-IP):43058->(localhost-IP):53: i/o timeout
2023-06-26T23:28:13+02:00 INFO IPv4 address of audiobooks.example.ch is invalid IP and your IPv4 address is (shows correct public IP)

also shows this error after a a few runs

2023-06-26T23:48:19+02:00 INFO Updating record [domain: example.ch | host: audiobooks | provider: infomaniak | ip: ipv4] to use (shows correct public IP)
2023-06-26T23:48:29+02:00 ERROR doing http request: Get "https://username:***@infomaniak.com/nic/update?hostname=audiobooks.example.ch": context deadline exceeded

Configuration file:

  "settings": [
    {
      "provider": "infomaniak",
      "domain": "example.ch",
      "host": "audiobooks,nas,office,server",
      "username": "XXXX",
      "password": "XXXXX",
      "ip_version": "ipv4",
      "provider_ip": true
    }
  ]
}

Host OS:
Raspberry Pi OS Debian version: 11 (bullseye)

This is my first time setting it up, help would be appreciated.

Originally created by @lonezel on GitHub (Jun 26, 2023). **TLDR**: *Describe your issue in a one liner here* I get a warning and errors when running the ddns-updater in a docker container and IP addresses are not updated. 1. Is this urgent: Yes 2. DNS provider(s) you use: infomaniak 3. Program version: <!-- See the line at the top of your logs --> running latest version, brand new docker container 4. What are you using to run the container: docker-compose Logs: ``` 2023-06-26T23:28:13+02:00 WARN cannot DNS resolve audiobooks.example.ch after 5 tries: lookup audiobooks.example.ch on (localhost-IP):53: read udp (docker-IP):43058->(localhost-IP):53: i/o timeout 2023-06-26T23:28:13+02:00 INFO IPv4 address of audiobooks.example.ch is invalid IP and your IPv4 address is (shows correct public IP) ``` also shows this error after a a few runs ``` 2023-06-26T23:48:19+02:00 INFO Updating record [domain: example.ch | host: audiobooks | provider: infomaniak | ip: ipv4] to use (shows correct public IP) 2023-06-26T23:48:29+02:00 ERROR doing http request: Get "https://username:***@infomaniak.com/nic/update?hostname=audiobooks.example.ch": context deadline exceeded ``` Configuration file: ```{ "settings": [ { "provider": "infomaniak", "domain": "example.ch", "host": "audiobooks,nas,office,server", "username": "XXXX", "password": "XXXXX", "ip_version": "ipv4", "provider_ip": true } ] } ``` Host OS: Raspberry Pi OS Debian version: 11 (bullseye) This is my first time setting it up, help would be appreciated.
Author
Owner

@nizrdev commented on GitHub (Jun 28, 2023):

how have you fixed this?

@nizrdev commented on GitHub (Jun 28, 2023): how have you fixed this?
Author
Owner

@lonezel commented on GitHub (Sep 4, 2023):

Link

Problem was solved with this answer.

@lonezel commented on GitHub (Sep 4, 2023): [Link](https://github.com/qdm12/ddns-updater/discussions/499#discussioncomment-6359245) Problem was solved with this answer.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#293