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

    not of my client can resolve it's own hostname

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 2 Posters 754 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.
    • C
      cheapie408
      last edited by

      I got a couple computer hosting different things. IE: A Homeseer PC lets call it homeseer and another called BlueIris

      From any other PC but itself I can go to homeseer:port or Blueiris:port and it will resolve it just fine but i can't get to it I was using that particular pc itself.

      Both have IPV6 disabled but when I ping it from itself I get ::1: but from another PC I get the IPV4 address.

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

        @cheapie408 This isn't a pfsense issue..

        Both have IPV6 disabled but when I ping it from itself I get ::1"

        beforereg.jpg

        Do this on your windows machine from an elevated prompt, or create the reg entry by hand.

        reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v DisabledComponents /t REG_DWORD /d 255 /f
        

        reboot

        after.jpg

        to put it back just delete the reg key..

        edit: if you want to use IPv6 by just enabling it on the interface now and then - you could set the value to 32 (dec) vs 255, this will tell the machine to prefer ipv4 over ipv6.. Then you can just enable it when you want it to play with.. If you have not future plans to use ipv6 at all - then 255 works for completely disable it as much as you can in windows..

        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

        C 1 Reply Last reply Reply Quote 0
        • C
          cheapie408 @johnpoz
          last edited by

          @johnpoz said in not of my client can resolve it's own hostname:

          u want to use IPv6 by just enabling it on the interface now an

          Thanks, this fixes the pinging issue but didn't seem to fix the issue of accessing itself using a browser. Something interesting though is that I can access it's shared resource using its hostname just not from any browser.

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

            @cheapie408 sure your browser isn't using doh.. Also you should always use fqdn, not just hostname..

            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

            C 1 Reply Last reply Reply Quote 0
            • C
              cheapie408 @johnpoz
              last edited by

              @johnpoz

              Even weirder, I've always been able to access it simply by hostname. I just confirmed that I now need to use hostname.local in order to access itself but hostname alone can be used on any other machine

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

                @cheapie408 said in not of my client can resolve it's own hostname:

                .local

                Is horrible choice for your domain. I would suggest the new standard home.arpa, or something other than .local - this is a special use domain that is meant for mdns discovery.. Not a good choice.. Apple pretty much ruined that for anyone else to use ;)

                https://www.rfc-editor.org/rfc/rfc8375.html
                Special-Use Domain 'home.arpa.'

                I used local.lan for longest time, in the middle of moving over to home.arpa - just waiting for my certs to expire and do it naturally vs going through and doing it all at once.. My nas is using nas.home.arpa, and when my controller cert gets ready to expire, I will change it over to home.arpa.. Then at some point will do a bang cut and move everything over to it.

                if your resolving just hostname, that is most likely just a broadcast resolving that - unbound has not resolved just hostname for many a year now. Unless your client is doing search suffix and auto adding your domain? But its bad practice - should really get in the habit of always doing fqdn..

                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

                C 1 Reply Last reply Reply Quote 0
                • C
                  cheapie408 @johnpoz
                  last edited by

                  @johnpoz said in not of my client can resolve it's own hostname:

                  local.lan for longest time, in the middle of moving over to home.arpa - just waiting for my certs to expire and do it natur

                  Thanks for the suggestion. I plan on moving in several months and I'll take the opportunity to update.

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