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

    BIND config reset

    Scheduled Pinned Locked Moved pfSense Packages
    14 Posts 3 Posters 1.7k 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

      My bad - I read that as external, not internal.. Yah if internal record need some details of the zone file, etc.

      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
      • curtisgriceC
        curtisgrice @Gertjan
        last edited by curtisgrice

        @gertjan said in BIND config reset:

        Now we know that the first issue isn't an issue but the principale goal of the package :

        I guess I didn't think about the root hints. But yes that would allow external resolution without an external DNS server configured. Though its odd that there is not option to enable/disable root hints.

        the record with issue is "FreeNAS IN A 192.168.1.5"

        I pulled in a long-ish list of hostnames and as such I added them in the "Custom Zone Domain Records" section.

        BK01		IN A	192.168.99.50
        DC01		IN A	192.168.1.10
        ESXi01		IN A	192.168.99.101
        ESXi02		IN A	192.168.99.102
        minecraft	IN A	192.168.1.20
        Emby		IN A	192.168.1.21
        Operations	IN A	192.168.99.100
        Orchestrator	IN A	192.168.99.52
        pfSense		IN A	192.168.1.1
        FreeNAS		IN A	192.168.1.5
        Plex		IN A	192.168.1.6
        Transmission	IN A	192.168.1.7
        UniFi		IN A	192.168.1.3
        vcsa		IN A	192.168.99.99
        psc01		IN A	192.168.3.98
        vcsa-Lab	IN A	192.168.3.99
        vESXi01		IN A 	192.168.3.101
        vESXi02		IN A 	192.168.3.102
        vESXi03		IN A 	192.168.3.103
        vESXi04		IN A 	192.168.3.104
        

        With a resulting zone file of:

        $TTL 43200
        ;
        $ORIGIN rack.center.
        
        ;	Database file rack.center.DB for rack.center zone.
        ;	Do not edit this file!!!
        ;	Zone version 2535673374
        ;
        rack.center.	 IN  SOA ns1. 	 zonemaster.rack.center. (
        		2535673374 ; serial
        		1d ; refresh
        		2h ; retry
        		4w ; expire
        		1h ; default_ttl
        		)
        
        ;
        ; Zone Records
        ;
        @ 	 IN NS 	ns1.
        @ 	 IN A 	192.168.1.1
        ns1 	 IN NS  	192.168.1.1
        iDRAC-FreeNAS	IN A	192.168.50.15
        
        
        ;
        ;custom zone records
        ;
        BK01		IN A	192.168.99.50
        DC01		IN A	192.168.1.10
        ESXi01		IN A	192.168.99.101
        ESXi02		IN A	192.168.99.102
        minecraft	IN A	192.168.1.20
        Emby		IN A	192.168.1.21
        Operations	IN A	192.168.99.100
        Orchestrator	IN A	192.168.99.52
        pfSense		IN A	192.168.1.1
        FreeNAS		IN A	192.168.1.5
        Plex		IN A	192.168.1.6
        Transmission	IN A	192.168.1.7
        UniFi		IN A	192.168.1.3
        vcsa		IN A	192.168.99.99
        psc01		IN A	192.168.3.98
        vcsa-Lab	IN A	192.168.3.99
        vESXi01		IN A 	192.168.3.101
        vESXi02		IN A 	192.168.3.102
        vESXi03		IN A 	192.168.3.103
        vESXi04		IN A 	192.168.3.104
        
        

        Slow code? Sounds like a good reason to buy more hardware!

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

          So your saying none of those resolve? What do you get back when you ask NX or ServFail?

          If you don't want bind client to be able to resolve - then set that up in your view.. Set it to no recursion if you only want to return what your authoritative for.

          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

          curtisgriceC 1 Reply Last reply Reply Quote 0
          • curtisgriceC
            curtisgrice @johnpoz
            last edited by

            @johnpoz I would get nothing. This is internal only. I see you responded before my edit. the host that would not resolve was freenas.rack.center

            Slow code? Sounds like a good reason to buy more hardware!

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

              what do you mean you would get nothing - you would get timeout?

              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

              curtisgriceC 1 Reply Last reply Reply Quote 0
              • curtisgriceC
                curtisgrice
                last edited by

                I just reinstalled again to pull everything. While the old config was still there, it seems to be working now. 😒
                I don't like when things fix themselves and offer no explanation.

                Slow code? Sounds like a good reason to buy more hardware!

                1 Reply Last reply Reply Quote 0
                • curtisgriceC
                  curtisgrice @johnpoz
                  last edited by

                  @johnpoz Excuse my ignorance I thought you were referencing and external DNS lookup service like mxtoolbox. I was getting not a valid domain from nslookup even though pfsense.rack.center worked fine.

                  Slow code? Sounds like a good reason to buy more hardware!

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

                    Yeah that can be frustrating for sure - but if you were getting timeout, maybe it was restarting or for whatever reason it was trying to resolve it.. If it didn't think it had the record and it was authoritative for that zone you should of gotten NX.

                    Maybe the client did query for FreeNAS without the suffix or maybe it did FreeNAS.rack.center.rack.center but that should of returned NX..

                    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
                    • curtisgriceC
                      curtisgrice
                      last edited by

                      Thanks for your help. We can consider this closed.

                      Slow code? Sounds like a good reason to buy more hardware!

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

                        We seem to be missing each others edits ;) Did you get my edit about views to prevent recursion.

                        0_1535728682053_recursion.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

                        curtisgriceC 1 Reply Last reply Reply Quote 0
                        • curtisgriceC
                          curtisgrice @johnpoz
                          last edited by

                          @johnpoz Yes I did find the recursion setting in the view view. Thank you.

                          Slow code? Sounds like a good reason to buy more hardware!

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