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

    Local DNS requests not going through haproxy?

    Scheduled Pinned Locked Moved DHCP and DNS
    2 Posts 2 Posters 599 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.
    • X
      xvzacrw
      last edited by

      I think this is a DNS issue, but I'm not certain. Please advise, thanks!

      • I've got external subdomains/domains pointed at pfsense
      • Then using haproxy to offload https and apply wildcard cert
      • Then forward traffic to different backends depending on the subdomain/domain.

      It's working great for subdomains that have a public DNS record, but not internal ones.
      I've tried pure nat, and split dns with host overrides.

      I can access local domains using the dns resolver, but traffic isn't going through haproxy for a cert and to be sent to the right backend/port.
      I am using different subnets, but my firewall rules are allow all.

      1 Reply Last reply Reply Quote 0
      • P
        PiBa
        last edited by

        Why are you using hostoverrides? If haproxy listens on the wan-ip, and the domainname resolves to that wan-ip, then the request should be handled by haproxy..?
        And if your using different subnets for clients and servers, there is little that can stand in the way.. (Otherwise try and disable transparent-client-ip if you have that set on the backend..)

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