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

    Host Overrides bypassed by https:???

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 1.1k 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.
    • H
      harshness
      last edited by

      I figured the most efficient way to keep people from reaching a particular domain was to use the Host Overrides and/or advanced "address=" directives.  If I use https to access the domain, it goes through as if there were no override.  What am I missing?

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

        dns has nothing to do with protocol being used.. Simple answer to question if your requesting A record for a fully qualified domain name, say host.domain.tld then it will return the IP that is in its listing.

        if you ask for cname it will return the fqdn it has for that fqdn you asked for, or if MX again it will return the fqdn of the MX record.

        Does not care what your client does with it be it http, ftp, ssh, etc..  So if your saying https is working - then you don't have the host over ride you think you do, or they are not even asking pfsense for the dns, etc.  And something else is resolving it.

        Are the clients using a proxy?

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

        1 Reply Last reply Reply Quote 0
        • H
          harshness
          last edited by

          This independence of protocol was why I was baffled.

          As it turned out, I had to dump the DNS cache a few times on the client machine and it finally began to be forwarded.

          It still doesn't explain why I was getting the right IP number using the other protocols.  Maybe there is something about how IE and FF cache things…

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

            Yes your browsers cache – did you restart the browsers?

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

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