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

    DNS

    DHCP and DNS
    3
    3
    484
    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
      Denada
      last edited by

      Hello everyone.On my pfSense box I'm trying to setup 2 networks 10.8.0.1 and 10.1.0.1.Our company domain let's say is internal.company.com.So on my local machine I have configured my laptop to have the default gateway as 10.8.0.1 and also the DNS Server 10.8.0.1 and the DNS Suffix internal.company.com.When I try with nslookup on cmd It cannot pass traffic to 10.1.0.1 ,but when i try on my browser I can access all the traffic that is coming through 10.1.0.1.Is there any setting on the pfsense firewall that triggers that?

      GertjanG johnpozJ 2 Replies Last reply Reply Quote 0
      • GertjanG
        Gertjan @Denada
        last edited by

        @Denada said in DNS:

        When I try with nslookup on cmd It cannot pass traffic to 10.1.0.1

        If your IP = 10.8.0.x (where x is between 2 and 254), this is the device you use to run nslookup,
        and your gateway is 10.8.0.1 and DNS is 10.8.0.1 - where 10.8.0.1 = pfSense
        then nslookup doesn't "pass" any traffic to 10.1.0.1. It contacts 10.8.0.1. It will not contact something on 10.1.0.x - it will ask the DNS (server) on 10.8.0.1 and that's it.

        If you want traffic to be able to flow (route) from 10.8.0.x to 10.1.0.y, then add a firewall rule on the 10.8.0.x network firewall page that allow this traffic.
        If 10.8.0.1 is your LAN, then the default firewall rule that you found there after installation would allow this traffic.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          @Denada said in DNS:

          When I try with nslookup on cmd It cannot pass traffic to 10.1.0.1

          Are you saying this box can not lookup fqdn in your internal.company.com?

          How would pfsense know what dns to ask for these records. If you want pfsense to lookup something off an internal dns, you would need to setup a domain override to tell unbound where to go ask.

          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.7.2, 24.11

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