Project

General

Profile

Actions

Regression #13962

closed

PPP interfaces do not request DNS servers when "DNS Server Override" is enabled

Added by Philip Gahl almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
PPP Interfaces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.05
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:
amd64

Description

System --> General Setup --> DNS Server Settings --> DNS Server Override --> [x] Allow DNS server list to be overridden by DHCP/PPP on WAN or remote OpenVPN server

This populates my DNS server list with the ISP's DNS servers. Working fine with 22.05-RELEASE.

Today, I updated to 23.01-RELEASE and after reboot I realized that the internet is inaccessible. Also, all OpenVPN clients were "offline". After logging into the GUI, I saw that the DNS server list was empty. Additional reboots didn't solve it. Rebooting into 22.05-RELASE instantly restores working order.

I need the ISP DNS servers for the PBX/VoIP. Also, they are used for OpenVPN tunnel initialization etc.

Thanks for looking into this.

pfsense+ runs on a Supermicro E200-9A with 16GB ECC RAM and a 256MB SSD, using zfs.

ISP is Deutsche Telekom. Connection is PPPoE over fiber.

Actions #1

Updated by Jim Pingle almost 2 years ago

  • Project changed from pfSense Plus to pfSense
  • Subject changed from 23.01: ISP DNS are no longer accepted for the DNS server list (WAN PPPoE) to PPP linkup script is not receiving DNS information on connect
  • Category changed from PPP Interfaces to PPP Interfaces
  • Status changed from New to Confirmed
  • Assignee set to Jim Pingle
  • Target version set to 2.7.0
  • Affected Plus Version deleted (23.01)
  • Plus Target Version set to 23.05

I can reproduce this here locally at least on one system.

The DNS servers are not getting passed through to /usr/local/sbin/ppp-linkup somehow. It's reading the GUI setting properly and it creates /var/etc/nameserver_pppoe0 but it's empty.

Actions #2

Updated by Jim Pingle almost 2 years ago

The test in the code that generates the MPD config for PPP interfaces isn't checking the override setting correctly so the MPD directives to request DNS servers are not placed in the MPD config for the interface. Looks like a simple fix. Commit incoming momentarily.

Actions #3

Updated by Jim Pingle almost 2 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Jim Pingle almost 2 years ago

  • Subject changed from PPP linkup script is not receiving DNS information on connect to PPP interface MPD configuration does not contain parameters to request DNS servers when "DNS Server Override" is enabled

Updating the subject to match the root cause of the problem.

You can install the System Patches package and then create an entry for e53f0573d853325dfb463eab8bfe59a9f4d6ce61 to apply the fix. You will need to save/apply the interface or reboot after applying the patch.

Actions #5

Updated by Danilo Zrenjanin over 1 year ago

  • Status changed from Feedback to Resolved

Tested against:

23.01-RELEASE (amd64)
built on Fri Feb 10 20:06:33 UTC 2023
FreeBSD 14.0-CURRENT

The patch fixes it. Marking this ticket resolved.

Actions #6

Updated by Jim Pingle over 1 year ago

  • Subject changed from PPP interface MPD configuration does not contain parameters to request DNS servers when "DNS Server Override" is enabled to PPP interfaces do not request DNS servers when "DNS Server Override" is enabled

Updating subject for release notes.

Actions #7

Updated by Jim Pingle over 1 year ago

  • Affected Version set to 2.7.0
Actions

Also available in: Atom PDF