Bug: ERROR creating resolver: validating settings: splitting host and port from address: missing port in address #234

Open
opened 2025-11-20 04:21:49 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @samcro1967 on GitHub (Dec 7, 2022).

Originally assigned to: @qdm12 on GitHub.

Is this urgent: No (rolled back to previous docker image and it is working)

DNS provider(s) you use: Cloudflare

Program version: qmcgaw/ddns-updater:latest

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

Extra information (optional)
Container dies on every launch with latest image on Docker Hub which was updated 2 hours ago. Not seeing anything in the docs that changed, but probably missing something.

2022/12/07 06:10:13 main.go:191: INFO Found 4 settings to update records
2022/12/07 06:10:14 main.go:203: INFO Reading history from database: domain mydomain1.net host @
2022/12/07 06:10:14 main.go:203: INFO Reading history from database: domain mydomain1.net host *
2022/12/07 06:10:14 main.go:203: INFO Reading history from database: domain mydomain2.net host @
2022/12/07 06:10:14 main.go:203: INFO Reading history from database: domain mydomain3.org host @
2022/12/07 06:10:14 ERROR creating resolver: validating settings: splitting host and port from address: missing port in address
2022/12/07 06:10:14 INFO Shutdown successful

Config File

{
    "settings": [
        {
            "provider": "godaddy",
            "domain": "mydomain1.net",
			"host": "@,*",
			"key": "<redatced>",
			"secret": "<redatced>",
			"ip_version": "ipv4",
			"proxied": "true"
        },
		{
			"provider": "cloudflare",
			"zone_identifier": "<redatced>",
			"domain": "mydomain2.net",
			"host": "@",
			"ttl": 7200,
			"token": "<redatced>",
			"ip_version": "ipv4"
		},
		{
		  "provider": "noip",
		  "domain": "mydomain3.org",
		  "host": "@",
		  "username": "user@mydomain3.net",
		  "password": "<redatced>",
		  "ip_version": "ipv4",
		  "provider_ip": true
		}
	]
}

Docker Compose

  ddns-updater:
    hostname: ddns-updater
    image: qmcgaw/ddns-updater:latest
    container_name: ddns-updater
    restart: always
    environment:
      - TZ=${TZ}
      - PERIOD=60m
      - UPDATE_COOLDOWN_PERIOD=60m
      - ROOT_URL=/ddns-updater/
      - LOG_LEVEL=debug
      - LOG_CALLER=short
      - SHOUTRRR_ADDRESSES=smtp://192.168.1.104:8025/?from=ddnsupdater@mydomain1.net&to=ddnsupdater@mydomain1.net&Auth=none&UseHTML=yes
    ports:
      - 8103:8000
    volumes:
      - ${docker}/ddns-updater:/updater/data/
    user: 1000:1000

Host OS: Ubuntu 22.04
Docker: 20.10.19

Originally created by @samcro1967 on GitHub (Dec 7, 2022). Originally assigned to: @qdm12 on GitHub. Is this urgent: No (rolled back to previous docker image and it is working) DNS provider(s) you use: Cloudflare Program version: qmcgaw/ddns-updater:latest What are you using to run the container: docker-compose Extra information (optional) Container dies on every launch with latest image on Docker Hub which was updated 2 hours ago. Not seeing anything in the docs that changed, but probably missing something. ``` 2022/12/07 06:10:13 main.go:191: INFO Found 4 settings to update records 2022/12/07 06:10:14 main.go:203: INFO Reading history from database: domain mydomain1.net host @ 2022/12/07 06:10:14 main.go:203: INFO Reading history from database: domain mydomain1.net host * 2022/12/07 06:10:14 main.go:203: INFO Reading history from database: domain mydomain2.net host @ 2022/12/07 06:10:14 main.go:203: INFO Reading history from database: domain mydomain3.org host @ 2022/12/07 06:10:14 ERROR creating resolver: validating settings: splitting host and port from address: missing port in address 2022/12/07 06:10:14 INFO Shutdown successful ``` Config File ``` { "settings": [ { "provider": "godaddy", "domain": "mydomain1.net", "host": "@,*", "key": "<redatced>", "secret": "<redatced>", "ip_version": "ipv4", "proxied": "true" }, { "provider": "cloudflare", "zone_identifier": "<redatced>", "domain": "mydomain2.net", "host": "@", "ttl": 7200, "token": "<redatced>", "ip_version": "ipv4" }, { "provider": "noip", "domain": "mydomain3.org", "host": "@", "username": "user@mydomain3.net", "password": "<redatced>", "ip_version": "ipv4", "provider_ip": true } ] } ``` Docker Compose ``` ddns-updater: hostname: ddns-updater image: qmcgaw/ddns-updater:latest container_name: ddns-updater restart: always environment: - TZ=${TZ} - PERIOD=60m - UPDATE_COOLDOWN_PERIOD=60m - ROOT_URL=/ddns-updater/ - LOG_LEVEL=debug - LOG_CALLER=short - SHOUTRRR_ADDRESSES=smtp://192.168.1.104:8025/?from=ddnsupdater@mydomain1.net&to=ddnsupdater@mydomain1.net&Auth=none&UseHTML=yes ports: - 8103:8000 volumes: - ${docker}/ddns-updater:/updater/data/ user: 1000:1000 ``` Host OS: Ubuntu 22.04 Docker: 20.10.19
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#234