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

HA Config BIND DNS sync setup problem

Scheduled Pinned Locked Moved HA/CARP/VIPs
17 Posts 3 Posters 2.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.
  • K
    kiokoman LAYER 8
    last edited by Oct 3, 2019, 9:25 AM

    nothing in the bind log?

    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
    Please do not use chat/PM to ask for help
    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

    B 2 Replies Last reply Oct 3, 2019, 9:44 AM Reply Quote 0
    • B
      bolvar @kiokoman
      last edited by Oct 3, 2019, 9:44 AM

      @kiokoman

      Today i will do a swap again from the primary server, and look around it but i think yesterday there was nothing special in the logs.

      bolvar

      1 Reply Last reply Reply Quote 0
      • B
        bolvar @kiokoman
        last edited by Oct 3, 2019, 8:54 PM

        @kiokoman

        Sadly nothing in the logs.I saw in the firewall logs that i get a dns query from outside but it gets an answere.

        1 Reply Last reply Reply Quote 0
        • K
          kiokoman LAYER 8
          last edited by Oct 3, 2019, 9:51 PM

          i usually use dig to test my bind9, i don't have HA though
          try with https://www.digwebinterface.com/
          put your host and your ns ip (specify myself:)
          and see if it's answering or not
          something like this
          Immagine.jpg

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

          B 1 Reply Last reply Oct 9, 2019, 8:06 PM Reply Quote 0
          • B
            bolvar @kiokoman
            last edited by Oct 9, 2019, 8:06 PM

            @kiokoman

            Thanks but i cannot se how can this help me :D
            An mxtoolbox is the same, and the problem is when i change to the secondary node, my dns is not respondig, cant test with this tool. My backup name server runing only.

            1 Reply Last reply Reply Quote 0
            • B
              bolvar
              last edited by Oct 17, 2019, 5:05 PM

              Here is the log:

              Bind_DNS.jpg

              When i test from mxtoolbox i get a pass, but on the web page it says unreacheble.

              Nobody has any ide what am i doing wrong? :/

              1 Reply Last reply Reply Quote 0
              • B
                bolvar
                last edited by Nov 18, 2019, 9:33 AM

                Nobody expert on this problem?
                The question is that im thinking on that now i have the ha cfg with one master server and in another site i have a slave cfg-ed.
                In this case in the HA cfg i need to setup my backup node bind dns to master?

                1 Reply Last reply Reply Quote 0
                • B
                  bolvar
                  last edited by Jan 23, 2020, 8:13 AM

                  I think i found the problem.

                  In slave state the zone file didnt get generated.
                  If i sate the state on my secondary node to master to zone file get generated, and mxtoolbox query workes.

                  Someone can give advise about this?

                  1 Reply Last reply Reply Quote 0
                  • K
                    kiokoman LAYER 8
                    last edited by Jan 23, 2020, 9:23 AM

                    you should check allow-transfer / allow-notify / allow-update statement, make a screenshot of your configuration if you can, just hide sensitive information, hard to tell without more info

                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                    Please do not use chat/PM to ask for help
                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                    B 1 Reply Last reply Jan 23, 2020, 7:52 PM Reply Quote 0
                    • B
                      bolvar @kiokoman
                      last edited by Jan 23, 2020, 7:52 PM

                      @kiokoman

                      Under Bind dns advanced future custom option i have allow notify and update,i need here the allow transfer to?

                      1 Reply Last reply Reply Quote 0
                      • K
                        kiokoman LAYER 8
                        last edited by kiokoman Jan 23, 2020, 9:40 PM Jan 23, 2020, 9:35 PM

                        idk i don't have bind installed on pfsense, i have a dedicated server for bind9 and to transfer from my master to the slave i have it configured like this:

                        server 172.17.0.100 {
                                keys {
                                        rndc-key;
                                };
                        };
                        
                        server  2001:470:b682:ffff:ffff:ffff:ffff:fffe {
                                keys {
                                        rndc-key;
                                };
                        };
                        ..................
                        
                        zone "kiokoman.eu.org" {
                                type master;
                                allow-transfer {151.3.106.211; 2001:470:b4e1:ffff:ffff:ffff:ffff:fffe; 192.168.10.202; 2001:470:26:5dc:ffff:ffff:ffff:fffd;};
                                also-notify {151.3.106.211; 2001:470:b4e1:ffff:ffff:ffff:ffff:fffe; 192.168.10.202; 2001:470:26:5dc:ffff:ffff:ffff:fffd;};
                                file "/etc/bind/external/pri.kiokoman.eu.org.signed";
                                auto-dnssec maintain;
                                update-policy local;
                                };
                        
                        

                        on one of the slave:

                        server 172.17.0.100 {
                                keys {
                                        rndc-key;
                                };
                        };
                        
                        server  2001:470:b682:ffff:ffff:ffff:ffff:fffe {
                                keys {
                                        rndc-key;
                                };
                        };
                        ...............................
                        zone "kiokoman.eu.org" {
                                type slave;
                                masters {172.17.0.100; 2001:470:b682:ffff:ffff:ffff:ffff:fffe;};
                                file "/etc/bind/external/pri.kiokoman.eu.org.signed";
                                };
                        
                        

                        under xfer-out.log and xfer-in.log ( channel xfer-in_file / channel xfer-out_file)

                        3c81316a0 192.168.10.202#56101/key rndc-key (kiokoman.home): view trusted: transfer of 'kiokoman.home/IN': IXFR ended
                        23-Jan-2020 20:13:25.430 client @0x7f53d0141340 192.168.10.202#43941/key rndc-key (2.168.192.IN-ADDR.ARPA): view trusted: transfer of '2.168.192.IN-ADDR.ARPA/IN': IXFR started: TSIG rndc-key (serial 2018046843 -> 2018046844)
                        23-Jan-2020 20:13:25.430 client @0x7f53d0141340 192.168.10.202#43941/key rndc-key (2.168.192.IN-ADDR.ARPA): view trusted: transfer of '2.168.192.IN-ADDR.ARPA/IN': IXFR ended
                        23-Jan-2020 20:56:05.485 client @0x7f53c81221e0 192.168.10.202#48387/key rndc-key (kiokoman.home): view trusted: transfer of 'kiokoman.home/IN': IXFR started: TSIG rndc-key (serial 2019092987 -> 2019092989)
                        23-Jan-2020 20:56:05.485 client @0x7f53c81221e0 192.168.10.202#48387/key rndc-key (kiokoman.home): view trusted: transfer of 'kiokoman.home/IN': IXFR ended
                        

                        if something go wrong you should check/rise verbosity of that log

                        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                        Please do not use chat/PM to ask for help
                        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                        B 1 Reply Last reply Dec 9, 2024, 7:59 AM Reply Quote 0
                        • B
                          bolvar @kiokoman
                          last edited by Dec 9, 2024, 7:59 AM

                          @kiokoman

                          After years, new internet provider, same problem, we have managed to switch our rack hosted servert to ha, and the same config worked perfect on the other isp network. So the problem is related to the internet provider, but saddly they say everything is ok...But its workes, so the config is okay, just need a good isp endpoint :D

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received