Bug 250984 - local-unbound-setup does not work with ipv6 forwarders without "::" in address
Summary: local-unbound-setup does not work with ipv6 forwarders without "::" in address
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 12.2-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-11-09 16:13 UTC by wolfgang
Modified: 2020-11-13 02:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wolfgang 2020-11-09 16:13:22 UTC
Given a resolv.conf that looks like

nameserver 2001:db8:6:5:4:3:2:1
options edns0

running local-unbound-setup produces a file /etc/unbound/forward.conf that looks like this:

# This file was generated by local-unbound-setup.
# Modifications will be overwritten.
forward-zone:
        name: .

Notably missing is a line on the end that should look like

        forward-addr: 2001:0db8:6:5:4:3:2:1

If the ipv6-adress contains the sequence "::" the script works as expected.
Comment 1 wolfgang 2020-11-09 23:51:19 UTC
This worked in FreeBSD 11.3, so we have a regression here.