Skip to content

rfc2136 IPv6 with zoneID #5272

@Thantalos

Description

@Thantalos

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug
OpnSense version: 26.1.2_5
os-rfc2136 version: 1.9_5

I can use the plugin to update a IPv4 on my server just fine, but if I activate IPv6 in the plugin, the DNS update fails. I assume that the origin of the problem lies with the IPv6. In the display of the plugin, the IPv6 is shown to include a zone ID. In my case the IP looks like this: fe80::1234:1234:1234:1234%pppoe0 (the zone ID is the percent sign and the interface name following it).
If I understand the source of the plugin correctly, this is also the IP it tries to send to the server, which clearly does not apply here and causes the update to fail.

To Reproduce
I am not sure why OpnSense does include the zone ID with the IPv6. Otherwise changing this would be a viable work around.

Expected behavior
The plugin should strip zone IDs from IPv6.

Relevant log files
This plugin does not seem to write a lot of log entries.

Additional context
The connection the IPv6 originates from is, as the name suggests, a PPPoE connection to my ISP.

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