Skip to content

ddclient always tries to update even when there's been no change in IP #544

@GrantEdwards

Description

@GrantEdwards

How do I get ddclient 3.10 to only update when the IP address changes?

It always tries to update, almost always get's a "nochg" response from api.dynu.org.

The cache file updates every time and seems to indicate that everything's OK:

## ddclient-3.10.0
## last updated at Sat Jun  3 08:34:49 2023 (1685799289)
atime=0,backupmx=0,custom=0,host=xxxxxxxxxxxxxxxxxx.mywire.org,ip=aa.b..cc.dd,mtime=1685799193,mx=,script=/nic/update,static=0,status=good,status-ipv4=noconnect,status-ipv6=noconnect,warned-min-error-interval=1685799289,warned-min-interval=0,wildcard=0,wtime=30 grantstreet.mywire.org

But the next time it runs it will say that the last update failed, try to do an update, and receive a 'nochg' response again.

Is a 'nochg' response considered a failure?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions