Project

General

Profile

Actions

Bug #3915

closed

DHCP server static mapped clients do not receive custom DNS servers

Added by Phillip Davis over 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/06/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1.x
Affected Architecture:

Description

When I add a static mapped DHCP client, then put 2 custom DNS servers for that client (e.g. 8.8.8.8 and 8.8.4.4 to override the usual pfSense LAN IP as the DNS server) the dhcpd.conf file gets good looking stuff written to it. But when the client gets a DHCP lease it gets the specified static IP address correctly but the DNS servers are are those for the ordinary pool, not the custom ones.
Sample /var/dhcpd/etc/dhcpd.conf is attached which looks good - see "host s_lan_3" which has 8.8.8.8 and 8.8.4.4 specified. But when it gets its DHCP lease it just gets 10.49.0.250 as the DNS server (which is LAN IP).
Tested on 2.1.5 and 2.2-BETA 7-Oct-2014 with the same issue.
It seems like a real bug in dnsmasq or maybe the conf file has to be written a bit differently or?


Files

dhcpd.conf (3.13 KB) dhcpd.conf Phillip Davis, 10/06/2014 10:24 PM
DHCP-packet-capture.txt (5.31 KB) DHCP-packet-capture.txt Phillip Davis, 10/20/2014 06:01 AM
Actions

Also available in: Atom PDF