unifi-utilities / unifios-utilities

A collection of enhancements for UnifiOS based devices
GNU General Public License v3.0
3.86k stars 415 forks source link

IPv6 address on AdguardHome but UDM keeps advertising its own IP as DNS #434

Closed georgeboot closed 1 year ago

georgeboot commented 1 year ago

Describe the bug I installed AdguardHome via these utilities, with IPv6 support. All works and I can ping AdguardHome (fd04::4:5) via v6 from my workstation.

However, Unifi keeps advertising it's own IP (2a10:.....)as a DNS server as well.

Did I forget to configure something or did I make a mistake? Or is this a unifi bug?

Expected behavior The DHCPv6 to only announce the custom DNS.

Screenshots Unifi network config for my primary network (LAN):

screenshot 231 screenshot 232

DNS addresses obtained by my Macbook:

screenshot 233

Additional info

{
  "cniVersion": "0.4.0",
  "name": "dns",
  "plugins": [
    {
      "type": "macvlan",
      "mode": "bridge",
      "master": "br4",
      "mac": "00:1c:b4:ab:12:ff",
      "ipam": {
        "type": "static",
        "addresses": [
          {
            "address": "192.168.4.5/24",
            "gateway": "192.168.4.1"
          },
          {
              "address": "fd04::4:5/64",
              "gateway": "fd04::"
          }
        ],
        "routes": [
          {"dst": "0.0.0.0/0"}, {"dst": "::/0"}
        ]
      }
    }
  ]
}

UDM Information

georgeboot commented 1 year ago

It turns out my Mac was doing something weird. After rebooting, it only received the v4 and v6 address of my AdGuard instance.