Resolve Hostnames on multiple (V)LANs
-
I have finally made to setup pfSense the first time, such that there is one physical port delivering three networks - so a trunk port with a default network. I guess the image contains nearly all information
What is missing:
there is a default domain name:home.local
and one domain name for each vlan:hypervisors
andguests
. Those additional domain names are set at the respective DHCP Server for each network.Now there are two debian hosts having this
/etc/network/interfaces
config:So both hosts get three ips one for each network.
In theory - at least in my version of it - I should be able to ping each host by
<hostname>.home.local
,<hostname>.hypervisors
and<hostname>.guests
. But no matter what I am trying here, only the first version works.Specifically I have used these commands:
dig hostname.home.local dig @10.11.30.1 hostname.hypervisors dig @10.42.7.1 hostname.guests
Should that work in Theory but doesn't because I have screwed up the firewall rules, or am I trying something that is not expected to work at all?
-
UPDATE
By searching for similar Topics I ended up in this pretty interesting thread: https://forum.netgate.com/topic/141647/dhcp-not-registering-hostnames-in-dns/10
So I just
cat /var/unbound/host_entries.conf
while two clients were connected. There I could not find any hint of the domain names set viaservices > DHCP Server > domainname (respective tab for each interface)
From the absence of any Entries there I subsume that the behavior I am seeking is not provided?