OpenWrt/LEDE Project

  • Status Waiting on reporter
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Chris Luo - 22.06.2019
Last edited by Hans Dedecker - 23.06.2019

FS#2332 - Custom DNS servers settings not work on WAN6 interface

Supply the following if possible:
- Device problem occurs on
x86-64 virtual machine hosted by ESXI6.7u2

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 18.06.2 r7676-cddd7b4c77 / LuCI openwrt-18.06 branch (git-19.170.32094-4d6d8bc)

- Steps to reproduce
all steps performed on LUCI
1. Set WAN interface to ignore peer DNS to use custom DNS
2. Set WAN6 interface to ignore peer DNS to use custom DNS ::1
3. Start WAN (PPPOE) and WAN6 (DNCPv6 client)

issue: Check effective DNS, custom WAN6 DNS setting is ignored

# Interface lan
# Interface wan
# Interface wan_6
nameserver 240e:58:c000:1600:180:168:255:118
nameserver 240e:58:c000:1000:116:228:111:18

   network (0.8 KiB)
   1.png (40.1 KiB)
   2.png (52.9 KiB)
   3.png (29.4 KiB)
   4.png (37.4 KiB)
Project Manager
Hans Dedecker commented on 22.06.2019 11:20

As you're using PPPoE the network config has an issue as two wan IPv6 interfaces are created; wan6 by network config and wan_6 automatically created by the PPPoE protocol handler.
The creation of the automatic wan_6 can be disabled by setting ipv6 to 1 in the network wan interface config.
Can you give this a try and the check the peerdns behavior again ?

Mihai Coman commented on 13.08.2019 15:27

Similar setup with IPv6/4 dual stack & PPPoE on OpenWrt 18.06.2.

If I set custom IPv6 DNS via LuCI, it no longer displays any DNS in status page for IPv6.

Setting network.wan.ipv6 to 1 instead of auto seems to break DHCPv6, IPv6 is always "Not connected".


Available keyboard shortcuts


Task Details

Task Editing