Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    HAProxy backend hostname issues

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    1 Posts 1 Posters 651 Views 1 Watching
    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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy