Navigation

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

    Struggling with DNS

    DHCP and DNS
    3
    3
    526
    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.
    • F
      FrankLew last edited by

      Hi,

      New to PFS and new to networks on the whole really. So in advance, your patience is much appreciated.

      I have just setup a test environment in VMware Workstation. What I want to do is have two different networks and use PFS as a router between them. WAN side has internet access and the WAN adapter picked up its details via DHCP. The LAN side has nothing other then a virtual machine on it.

      I've managed to get this half working, in that I can ping addresses as hoped. I can even connect to a file share sat on the WAN side network. However the internet and DNS does not work on the LAN side.

      Pretty much used all default settings… I've not gone click happy.

      Any tips on where I should be looking?

      Thank you
      Frank

      1 Reply Last reply Reply Quote 0
      • F
        Finger79 last edited by

        @FrankLew:

        I've managed to get this half working, in that I can ping addresses as hoped. I can even connect to a file share sat on the WAN side network. However the internet and DNS does not work on the LAN side.

        Out of the box, the firewall rules on the LAN interface include a "Default allow LAN to any rule," which should allow your VM on the LAN side to browse the Internet and everything else it needs.

        In your pfSense test environment, if you go to Diagnostics / DNS Lookup, are you able to look up any domains?  Also, is the unbound service running?

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

          Seeing if pfsense can in itself lookup up dns would be a good start as finger79 suggests.

          Out of the box pfsense would resolve, and its interface out to dhcp clients for dns.

          What is in front of pfsense - could it be blocking resolving?  Which is different than forwarding.. it will walk down from roots, and talk to the authoritative servers down the chain until it gets to the authoritative ns for the domain your actually looking for a record in.

          ISP that intercepts dns could cause issues with that.  Is unbound actually starting?  You should be able to see that in the pfsense logs.  ISP that blocks outbound dns could also prevent that from working - its possible your isp only allows dns to NS it runs on the isp network?

          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 23.01 | Lab VMs CE 2.6, 2.7

          1 Reply Last reply Reply Quote 0
          • First post
            Last post