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

    HAProxy backend hostname issues

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    1 Posts 1 Posters 166 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.
    • A
      ajp_anton
      last edited by

      In HAProxy, when filling in a backend's server list, you can type in a server's hostname instead of an IP.

      This hostname appears to be converted to an IP internally by HAProxy. As far as I know, actually using hostnames in the config file does work, so why does the pfSense version replace it with the IP?

      Another issue is that HAProxy never checks this again. If the server's IP changes, or even if you change the hostname to a different one, this gets completely ignored and HAProxy keeps trying to reach the original IP from the first hostname ever entered.

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