Bug: constant warnings about not being able to lookup host - is it possible to change the nameserver? #88

Closed
opened 2025-11-20 04:20:08 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @katbyte on GitHub (Jan 21, 2021).

Originally assigned to: @qdm12 on GitHub.

TLDR: log filled with WARN unhealthy: lookup a.example.com on 127.0.0.11:53: no such host - is it possible to configure the nameserver

  1. Is this urgent: No
  2. DNS provider(s) you use: namecheap
  3. Program version: 2020-12-30T19:51:20Z (commit d8a7fef)
  4. What are you using to run the container: docker-compose
  5. Extra information (optional)

Logs:

Running version latest built on 2020-12-30T19:51:20Z (commit d8a7fef)
🔧  Need help? https://github.com/qdm12/ddns-updater/issues/new
💻  Email? quentin.mcgaw@gmail.com
☕  Slack? Join from the Slack button on Github
💸  Help me? https://github.com/sponsors/qdm12
2021-01-22T02:25:54.788Z	INFO	Found single setting to update record
2021-01-22T02:26:04.791Z	WARN	HTTP GET failed for http://google.com: Get "http://google.com": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021-01-22T02:26:04.791Z	WARN	HTTP GET failed for https://google.com: Get "https://google.com": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021-01-22T02:26:04.791Z	WARN	Domain name resolution is not working for google.com: lookup google.com on 127.0.0.11:53: read udp 127.0.0.1:44887->127.0.0.11:53: i/o timeout
2021-01-22T02:26:04.791Z	INFO	Reading history from database: domain katbyte.me host van
2021-01-22T02:26:04.792Z	INFO	http server: listening on 0.0.0.0:8000
2021-01-22T02:26:04.792Z	INFO	backup: each 240h24m24s; writing zip files to directory /updater/data/backups
2021-01-22T02:26:04.792Z	INFO	healthcheck server: listening on 127.0.0.1:9999
2021-01-22T02:26:14.792Z	ERROR	cannot get public ipv4 or ipv6 address: Get "https://diagnostic.opendns.com/myip": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021-01-22T02:26:14.796Z	WARN	lookup van.katbyte.me on 127.0.0.11:53: no such host
2021-01-22T02:26:54.620Z	WARN	unhealthy: lookup van.katbyte.me on 127.0.0.11:53: no such host
2021-01-22T02:27:54.741Z	WARN	unhealthy: lookup van.katbyte.me on 127.0.0.11:53: no such host
2021-01-22T02:28:54.840Z	WARN	unhealthy: lookup van.katbyte.me on 127.0.0.11:53: no such host
2021-01-22T02:29:54.946Z	WARN	unhealthy: lookup van.katbyte.me on 127.0.0.11:53: no such host
2021-01-22T02:30:55.047Z	WARN	unhealthy: lookup van.katbyte.me on 127.0.0.11:53: no such host

Configuration file (remove your credentials!):

{
  "settings": [
    {
      "provider": "namecheap",
      "domain": "example.com",
      "host": "a",
      "password": "",
      "provider_ip": true
    }
  ]
}

Host OS: debian

docker compose:


  ddns:
    image: qmcgaw/ddns-updater:latest
    container_name: ddns
    restart: "no"
    hostname: ddns
    domainname: ddns.example.com
    user: "1001"
    networks:
      web:
      dns:
        ipv4_address: 10.10.10.20
    ports:
      - "8000:8000/tcp"
    volumes:
      - /mnt/data/docker/dns/ddns:/updater/data
    labels:
      - traefik.enable=true
      - traefik.http.routers.ddns.rule=Host(`ddns.example.com`)
      - traefik.http.routers.ddns.tls=true
      - traefik.http.routers.ddns.tls.certresolver=le-dns
      - traefik.http.services.ddns.loadbalancer.server.port=8000
    environment:
      - TZ="America/Vancouver"

      - PERIOD=15m0s
      - IP_METHOD=cycle
      - IPV4_METHOD=cycle
      - IPV6_METHOD=cycle
      - HTTP_TIMEOUT=10s

      # Web UI
      - LISTENING_PORT=8000
      - ROOT_URL=/

      # Backup
      - BACKUP_PERIOD=240h24m24s # 0 to disable
      - BACKUP_DIRECTORY=/updater/data/backups

      # Other
      - LOG_ENCODING=console
      - LOG_LEVEL=info
Originally created by @katbyte on GitHub (Jan 21, 2021). Originally assigned to: @qdm12 on GitHub. <!-- YOU CAN CHAT THERE EVENTUALLY: https://github.com/qdm12/ddns-updater/discussions --> **TLDR**: log filled with `WARN unhealthy: lookup a.example.com on 127.0.0.11:53: no such host` - is it possible to configure the nameserver 1. Is this urgent: `No` 2. DNS provider(s) you use: `namecheap` 3. Program version: `2020-12-30T19:51:20Z (commit d8a7fef)` 4. What are you using to run the container: `docker-compose` 5. Extra information (optional) Logs: ```log Running version latest built on 2020-12-30T19:51:20Z (commit d8a7fef) 🔧 Need help? https://github.com/qdm12/ddns-updater/issues/new 💻 Email? quentin.mcgaw@gmail.com ☕ Slack? Join from the Slack button on Github 💸 Help me? https://github.com/sponsors/qdm12 2021-01-22T02:25:54.788Z INFO Found single setting to update record 2021-01-22T02:26:04.791Z WARN HTTP GET failed for http://google.com: Get "http://google.com": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2021-01-22T02:26:04.791Z WARN HTTP GET failed for https://google.com: Get "https://google.com": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2021-01-22T02:26:04.791Z WARN Domain name resolution is not working for google.com: lookup google.com on 127.0.0.11:53: read udp 127.0.0.1:44887->127.0.0.11:53: i/o timeout 2021-01-22T02:26:04.791Z INFO Reading history from database: domain katbyte.me host van 2021-01-22T02:26:04.792Z INFO http server: listening on 0.0.0.0:8000 2021-01-22T02:26:04.792Z INFO backup: each 240h24m24s; writing zip files to directory /updater/data/backups 2021-01-22T02:26:04.792Z INFO healthcheck server: listening on 127.0.0.1:9999 2021-01-22T02:26:14.792Z ERROR cannot get public ipv4 or ipv6 address: Get "https://diagnostic.opendns.com/myip": context deadline exceeded (Client.Timeout exceeded while awaiting headers) 2021-01-22T02:26:14.796Z WARN lookup van.katbyte.me on 127.0.0.11:53: no such host 2021-01-22T02:26:54.620Z WARN unhealthy: lookup van.katbyte.me on 127.0.0.11:53: no such host 2021-01-22T02:27:54.741Z WARN unhealthy: lookup van.katbyte.me on 127.0.0.11:53: no such host 2021-01-22T02:28:54.840Z WARN unhealthy: lookup van.katbyte.me on 127.0.0.11:53: no such host 2021-01-22T02:29:54.946Z WARN unhealthy: lookup van.katbyte.me on 127.0.0.11:53: no such host 2021-01-22T02:30:55.047Z WARN unhealthy: lookup van.katbyte.me on 127.0.0.11:53: no such host ``` Configuration file (**remove your credentials!**): ```json { "settings": [ { "provider": "namecheap", "domain": "example.com", "host": "a", "password": "", "provider_ip": true } ] } ``` Host OS: debian docker compose: ``` ddns: image: qmcgaw/ddns-updater:latest container_name: ddns restart: "no" hostname: ddns domainname: ddns.example.com user: "1001" networks: web: dns: ipv4_address: 10.10.10.20 ports: - "8000:8000/tcp" volumes: - /mnt/data/docker/dns/ddns:/updater/data labels: - traefik.enable=true - traefik.http.routers.ddns.rule=Host(`ddns.example.com`) - traefik.http.routers.ddns.tls=true - traefik.http.routers.ddns.tls.certresolver=le-dns - traefik.http.services.ddns.loadbalancer.server.port=8000 environment: - TZ="America/Vancouver" - PERIOD=15m0s - IP_METHOD=cycle - IPV4_METHOD=cycle - IPV6_METHOD=cycle - HTTP_TIMEOUT=10s # Web UI - LISTENING_PORT=8000 - ROOT_URL=/ # Backup - BACKUP_PERIOD=240h24m24s # 0 to disable - BACKUP_DIRECTORY=/updater/data/backups # Other - LOG_ENCODING=console - LOG_LEVEL=info ```
Author
Owner

@qdm12 commented on GitHub (Jan 21, 2021):

I think your internet connectivity is down for the container for some reason. The initial connectivity checks trying to access google.com fail as well.

You can always set the dns with docker-compose, for example:

dns:
  - 1.1.1.1 

But that's irrelevant to the container really. Maybe check your firewall as well? Closing the issue for now but feel free to comment back.

@qdm12 commented on GitHub (Jan 21, 2021): I think your internet connectivity is down for the container for some reason. The initial connectivity checks trying to access google.com fail as well. You can always set the dns with docker-compose, for example: ```yml dns: - 1.1.1.1 ``` But that's irrelevant to the container really. Maybe check your firewall as well? Closing the issue for now but feel free to comment back.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#88