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

    [SOLVED] BIND setup. How?

    Scheduled Pinned Locked Moved DHCP and DNS
    14 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      Where did you get the idea that ANY is going to return anything?

      Do an actual query for a FQDN that you entered!

      in your example there your fully qualified name would be

      myhost.myhost.example.com no myhost.example.com

      examplequery.png

      ANY hasn't been a valid sort of query for long time!

      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 1
      • B
        bogong
        last edited by

        Got it! It's working! Thanks.

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

          Also bind works too - did you hit save? If you do not hit save where you create your zone, then the config will not be generated.. Also you will need to create a view that your zone is in, etc...

          bindworks.png

          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

          B 1 Reply Last reply Reply Quote 0
          • B
            bogong @johnpoz
            last edited by bogong

            @johnpoz For BIND I did everything that you mentioning. But nothing appeared for me. Only DNS Resolver working right now. And really don't know why. What I see from screenshot - the diff is createview, I havent't it. In my version it's empty.

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

              You have to hit the SAVE button!!

              savebutton.png

              Outside off the zone.. Then go back into your zone and you will see your conf file..

              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

              B 2 Replies Last reply Reply Quote 0
              • B
                bogong @johnpoz
                last edited by

                @johnpoz What I see from screenshot - the diff is createview, I havent't it. In my version it's empty.

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

                  You didn't create a view would be my guess!

                  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
                  • B
                    bogong @johnpoz
                    last edited by

                    @johnpoz Yes. I've been pressing this button. For me creating view is a little new way. I've been only writing configs for BIND on pure FreeBSD. What does it mean VIEW?

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

                      You have been using bind for how long? And you don't know what a view is?

                      views.png

                      it determines what a specific client will be able to view in the zone..

                      edit:
                      https://kb.isc.org/docs/aa-00851
                      Understanding views in BIND 9, by example

                      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

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        bogong @johnpoz
                        last edited by bogong

                        @johnpoz About 10 years. I've been only writing zone files and add it in named.conf and everything was working. From now started to read about it. Thanks a lot.

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

                          Views have been around a REALLY Long time!! Pretty sure views have been available since the release of 9, like 2000 was it?

                          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.