• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Resolve Hostnames on multiple (V)LANs

Scheduled Pinned Locked Moved DHCP and DNS
2 Posts 1 Posters 524 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    karsten-heck
    last edited by karsten-heck Mar 19, 2023, 7:31 PM Mar 19, 2023, 7:30 PM

    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

    Screenshot from 2023-03-19 20-19-47.png

    What is missing:
    there is a default domain name: home.local and one domain name for each vlan: hypervisors and guests. 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:

    Screenshot from 2023-03-19 20-24-24.png

    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?

    K 1 Reply Last reply Mar 21, 2023, 4:29 AM Reply Quote 0
    • K
      karsten-heck @karsten-heck
      last edited by Mar 21, 2023, 4:29 AM

      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 via services > 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?

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received