openwrt / openwrt/packages

luci-app-wireguard: dns ignored in generated config

Open
#30,358 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug release/25.12
Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Package Name

luci-app-wireguard

Maintainer

@EricLuehrsen

OpenWrt Version

25.12.5

OpenWrt Target/Subtarget

ipq40xx/generic

Steps to Reproduce
  1. start from existing wgserver configuration
  2. add peer
  3. enter name
  4. generate key pair
  5. generate preshared key
  6. enter allowed IPs, hitting "plus" after each one
  7. tick "route" if appropriate
  8. enter keepalive, if appropriate
  9. save
  10. re-enter peer definition, check all in order
  11. click "configuration export"
  12. add dns server, hitting "plus" after each one
  13. note that the desired dns IS indeed displayed in the generated config
  14. click to download the config
Actual Behaviour

the saved config does NOT have the dns entry, which is however visible in the onscreen config AND correctly present in the QR code

on a whim, I redid all the steps entering the DNS as /32 at the end, no changes: still no dns entry in the saved config.
saving the new peer and applying changes also does not fix the behaviour

Confirmation Checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the luci-app-wireguard package and reproduce the configuration export/download flow described in the issue. Compare the onscreen configuration, QR code, and downloaded file after adding DNS servers; done means the downloaded configuration includes the same DNS entry shown in the other outputs.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.