Skip to content

ipfy.org very slow #63

@Hawk18x

Description

@Hawk18x

Updating DynDNS-Records works very slow.

protocols = {
        'IP': {'version': 4, 'api': 'https://api.ipify.org', 'record_type': 'A',
               'protocol_enforce': allowed_gai_family_ipv4},
        'IPv4': {'version': 4, 'api': 'https://api.ipify.org', 'record_type': 'A',
                 'protocol_enforce': allowed_gai_family_ipv4},
        'IPv6': {'version': 6, 'api': 'https://api6.ipify.org', 'record_type': 'AAAA',
                 'protocol_enforce': allowed_gai_family_ipv6}
    }

Changed URLs to:

protocols = {
        'IP': {'version': 4, 'api': ' https://api4.my-ip.io/ip.json', 'record_type': 'A',
               'protocol_enforce': allowed_gai_family_ipv4},
        'IPv4': {'version': 4, 'api': ' https://api4.my-ip.io/ip.json', 'record_type': 'A',
                 'protocol_enforce': allowed_gai_family_ipv4},
        'IPv6': {'version': 6, 'api': 'https://api6.my-ip.io/ip.json', 'record_type': 'AAAA',
                 'protocol_enforce': allowed_gai_family_ipv6}
    }

performs much faster.

Tested this Change on my System updating IONOS-DynDNS-Records. Works great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions