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

    Cannot Connect to Samba Shares on TrueNAS Server Via Domain

    Scheduled Pinned Locked Moved DHCP and DNS
    12 Posts 2 Posters 679 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @n3IVI0
      last edited by

      @n3IVI0 and does the fqdn resolve? Do a simple test using your fav dns tool, dig, nslookup, host, doggo

      Does it resolve to the IP..

      example - here is my nas fqdn resolving to its ip

      $ dig nas.home.arpa                                                       
                                                                                
      ; <<>> DiG 9.16.50 <<>> nas.home.arpa                                     
      ;; global options: +cmd                                                   
      ;; Got answer:                                                            
      ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6355                  
      ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1      
                                                                                
      ;; OPT PSEUDOSECTION:                                                     
      ; EDNS: version: 0, flags:; udp: 1232                                     
      ;; QUESTION SECTION:                                                      
      ;nas.home.arpa.                 IN      A                                 
                                                                                
      ;; ANSWER SECTION:                                                        
      nas.home.arpa.          1065    IN      A       192.168.9.10              
                                                                                
      ;; Query time: 3 msec                                                     
      ;; SERVER: 192.168.3.10#53(192.168.3.10)                                  
      ;; WHEN: Wed Jun 05 05:05:11 Central Daylight Time 2024                   
      ;; MSG SIZE  rcvd: 58                                                     
      

      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

      N 1 Reply Last reply Reply Quote 0
      • N
        n3IVI0 @johnpoz
        last edited by n3IVI0

        @johnpoz Here's the result with dig: dig.jpg

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

          @n3IVI0 well why would you think 9.9.9.9 know anything about your local resources.. Do you own home.com, somehow I find that unlikely..

          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

          N 1 Reply Last reply Reply Quote 0
          • N
            n3IVI0 @johnpoz
            last edited by

            @johnpoz In the past, I only needed to specify a domain for LAN purposes. Then my clients could see it and connect to it.

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

              @n3IVI0 well you were prob registering dhcp? I would not suggest you use some public domain like home.com - use something like the recommended home.arpa as your domain. Setup a dhcp reservation for your nas, or host override to point to its ip..

              And you client can be asking 9.9.9.9 directly - since they are never going to have a clue about your local resources now are they.

              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

              N 1 Reply Last reply Reply Quote 0
              • N
                n3IVI0 @johnpoz
                last edited by

                @johnpoz Will home.arpa work for each device?

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

                  @n3IVI0 I use home.arpa for all my local resources - it is the recommended domain currently to use for local resources.

                  https://datatracker.ietf.org/doc/html/rfc8375
                  Special-Use Domain 'home.arpa.'

                  And it is what pfsense currently defaults too.

                  You still need to have records for what you want to resolve.

                  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

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    n3IVI0 @johnpoz
                    last edited by

                    @johnpoz That fixed it immediately. And as most things are when you have knowledge, it was easy to fix. Thanks for the tip!

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      n3IVI0 @n3IVI0
                      last edited by

                      @n3IVI0 Figured out what was causing all the trouble. I had switched to Kea DHCP. Switched back to ISC DHCP, told it to stop nagging about the deprecation, then I could go into DNS Resolver and tell it to register all my static DHCP leases in the DNS Resolver. Zip. Suddenly my shares were back, and could be seen in Network again. Thanks for the help.

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

                        @n3IVI0 no problem glad you got it sorted, so your dhcp being kea was also handing out 9.9.9.9 to your clients for dns?

                        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

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          n3IVI0 @johnpoz
                          last edited by

                          @johnpoz Looks like. Dig looks different. Getting through to the domain like it used to. That's the thing that changed that FUBAR'd it. I changed to Kea.

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