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

    DNS Hostnames not Resolving

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 283 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.
    • D
      djbarrios
      last edited by

      I am setting up a new branch location. I have the IPsec tunnel configured and I can ping and access everything at the main office via IP address and vice versa. However, I cannot find anything via hostname on the other network (servers, PCs, etc.). The main location's DNS servers are handled locally using a 10.10.0.x IP address. I am at a loss on where to go from here. I tried adding those DNS servers to the General setup page but that did not help. Any help on this would be appreciated. Please let me know if you need more detail.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @djbarrios
        last edited by johnpoz

        @djbarrios so you would want to setup a domain override for the domain your hosts are in that you want to resolve.

        So you want to resolve say host.siteB.com that resolves to some 10.x.x.x address

        So in site A setup domain override that points to the DNS server on site B, 10.10.0.x

        Your also going to want to setup this domain as a private domain, so that rfc1918 records are allowed because of rebind..

        https://docs.netgate.com/pfsense/en/latest/services/dns/rebinding.html

        On your dns, is this unbound on pfsense? You would need to allow for in the acls of unbound for this remote IP to query it..

        You can validate this is working by doing say a directed dig on pfsense in site A to the dns IP something like

        dig @10.10.0.x host.siteb.com if that returns the answer your looking for you should be good to go.. Now a client asking unbound on pfsense in your site A should be able to lookup anything that is in your siteb.com domain.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        D 1 Reply Last reply Reply Quote 0
        • D
          djbarrios @johnpoz
          last edited by

          @johnpoz Do I need to have a site setup or can I use the local DNS suffix for the domain? Also, how do I check if my DNS is unbound?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.