"Enable DNS registration" can break DHCP Static Mappings
-
pfsense GUI -> Services -> DHCP Server -> Settings -> Enable DNS registration
I'm not sure what is the recommended setting however when enabled, DHCP Static Mappings for Debian v12.12 host stopped working
Reproduced by
- set a static mapping 192.168.12.55 for network interface's MAC
- create a new Debian server (or add LXQt Destop {other configurations not tested})
- Start the host, tested as a Proxmox v9.0.11, Kernel 6.17.2-1 VM, Guest agent shows IP address from pool (.100- .255) not static mapping (.55)
- In Debian VM, IP a shows two IPv4 addresses, the static address from DHCP and an permanent pool address
ip a inet 192.168.12.101/24 brd 1192.168.12.255 scope global enp6s16 valid_lft foreever preferred_lft forever inet 192.168.12.55/24 brd 1192.168.12.255 scope global secondary dynamic enp6s16 valid_lft 6799sec preferred_lft 6799secOther Debian v12 VM (which uses the same network interface / MAC address) similarly effected
Work around
- pfsense GUI -> Services -> DHCP Server -> Settings
- Uncheck "Enable DNS registration"
- Restart Proxmox (which includes the pfsense VM and Debian VM)
- Static mapping work again
ps I think the rest of the ip a output was as shown below but just re-Enable DNS registration and rebooting does not reproduce the issue. I suspect I need to reinstall Debian
ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisk noqueue stte UNKNOWN group default qlen 1000 Link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 net 127.0.0.1/8 scope host lo valid_lft foreever preferred_lft forever 2: enp6s16: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq stte UP group default qlen 1000 link/ether 34:1a:4c:03:c1:1b brd ff:ff:ff:ff:ff:ff inet 192.168.12.101/24 brd 1192.168.12.255 scope global enp6s16 valid_lft foreever preferred_lft forever inet 192.168.12.55/24 brd 1192.168.12.255 scope global secondary dynamic enp6s16 valid_lft 6799sec preferred_lft 6799sec inet6 fe80::361a:4cff:fe03:c11b/64 scope link valid_lft forever preferred_lf forever
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.