Skip to content

implement local iface IP lookup in cfddns.py #2

Description

@tomh4x

getAddr.py contains a function named getAddrFromIface() which uses ioctl to grab the IPv4 address from an interface on the local system where cfddns.py is running. This results in avoiding reliance on querying public IP addressing services (like ifconfig.me) to determine what address to assign to the configured DNS record.

This implementation should include resiliency to handle cases where a given system relying on dynamic assignment may have an outage with their ISP. For example: a broadband provider stops responding to DHCP_REQ and so user is left with an interface with no assigned address.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions