DDNS, BIND and leftover .jnl filesDHCP DDNS not working for Linux clientsCan you combine dhcp dynamic dns updates and static IPs in the same Bind zone?ISC DHCP+BIND with failover and dynamic updates, can the secondary bind update DDNS?DDNS Not Creating Journal (Dhcpd and Named)Automatic subdomain wildcard for DHCP-DDNS additions (windows server)Multiple DNS mappings for a host via DDNSMultiple subnets on isc-dhcp-server using ddns with bind9ddns correct setting for dhcpd.conf and ifcfg file with regards to hostnameCleanup DHCPD leases as well as DDNS EntriesCan isc-dhcp-server update bind running on a non default port?

Unbreakable Formation vs. Cry of the Carnarium

Email Account under attack (really) - anything I can do?

What is GPS' 19 year rollover and does it present a cybersecurity issue?

COUNT(id) or MAX(id) - which is faster?

Can I legally use front facing blue light in the UK?

Piano - What is the notation for a double stop where both notes in the double stop are different lengths?

Eliminate empty elements from a list with a specific pattern

Calculate Levenshtein distance between two strings in Python

Why was the "bread communication" in the arena of Catching Fire left out in the movie?

Why do we use polarized capacitors?

If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?

What does 'script /dev/null' do?

Is Fable (1996) connected in any way to the Fable franchise from Lionhead Studios?

"listening to me about as much as you're listening to this pole here"

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

What are the advantages and disadvantages of running one shots compared to campaigns?

Was there ever an axiom rendered a theorem?

Einstein metrics on spheres

Why do UK politicians seemingly ignore opinion polls on Brexit?

How to make payment on the internet without leaving a money trail?

Does the average primeness of natural numbers tend to zero?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

Why is the design of haulage companies so “special”?

How would photo IDs work for shapeshifters?



DDNS, BIND and leftover .jnl files


DHCP DDNS not working for Linux clientsCan you combine dhcp dynamic dns updates and static IPs in the same Bind zone?ISC DHCP+BIND with failover and dynamic updates, can the secondary bind update DDNS?DDNS Not Creating Journal (Dhcpd and Named)Automatic subdomain wildcard for DHCP-DDNS additions (windows server)Multiple DNS mappings for a host via DDNSMultiple subnets on isc-dhcp-server using ddns with bind9ddns correct setting for dhcpd.conf and ifcfg file with regards to hostnameCleanup DHCPD leases as well as DDNS EntriesCan isc-dhcp-server update bind running on a non default port?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








3















I have configured BIND and ISC DHCPD to work together (using keys for updates). Now it's not that it does not work at all: forward maps etc are most often added.



However, very often, for no apparent reason the .jnl file (journal) for the zone is left there and the main zone file is not updated. This results in infuriating lack of resolution of some hosts after DHCP lease acquire (if the hosts was not there in the zone file in the first place, or it leads to the old address).



Permissions look like this:



-rw-r--r-- 1 bind bind 691 Dec 10 11:06 myzone.zone
-rw-r--r-- 1 bind bind 765 Dec 10 12:17 myzone.zone.jnl


It should not be permissions problem though since the zone does (often) get updated via DHCP/DDNS?



What is the source of this problem and a fix for it?



OS: debian 7.2 x64, stable release bind and isc-dhcp server.










share|improve this question

















  • 1





    I don't understand, even if the change is only in the jnl file, it should always resolve correctly. Maybe your problem is somewhere else.

    – faker
    Dec 10 '13 at 13:16

















3















I have configured BIND and ISC DHCPD to work together (using keys for updates). Now it's not that it does not work at all: forward maps etc are most often added.



However, very often, for no apparent reason the .jnl file (journal) for the zone is left there and the main zone file is not updated. This results in infuriating lack of resolution of some hosts after DHCP lease acquire (if the hosts was not there in the zone file in the first place, or it leads to the old address).



Permissions look like this:



-rw-r--r-- 1 bind bind 691 Dec 10 11:06 myzone.zone
-rw-r--r-- 1 bind bind 765 Dec 10 12:17 myzone.zone.jnl


It should not be permissions problem though since the zone does (often) get updated via DHCP/DDNS?



What is the source of this problem and a fix for it?



OS: debian 7.2 x64, stable release bind and isc-dhcp server.










share|improve this question

















  • 1





    I don't understand, even if the change is only in the jnl file, it should always resolve correctly. Maybe your problem is somewhere else.

    – faker
    Dec 10 '13 at 13:16













3












3








3


4






I have configured BIND and ISC DHCPD to work together (using keys for updates). Now it's not that it does not work at all: forward maps etc are most often added.



However, very often, for no apparent reason the .jnl file (journal) for the zone is left there and the main zone file is not updated. This results in infuriating lack of resolution of some hosts after DHCP lease acquire (if the hosts was not there in the zone file in the first place, or it leads to the old address).



Permissions look like this:



-rw-r--r-- 1 bind bind 691 Dec 10 11:06 myzone.zone
-rw-r--r-- 1 bind bind 765 Dec 10 12:17 myzone.zone.jnl


It should not be permissions problem though since the zone does (often) get updated via DHCP/DDNS?



What is the source of this problem and a fix for it?



OS: debian 7.2 x64, stable release bind and isc-dhcp server.










share|improve this question














I have configured BIND and ISC DHCPD to work together (using keys for updates). Now it's not that it does not work at all: forward maps etc are most often added.



However, very often, for no apparent reason the .jnl file (journal) for the zone is left there and the main zone file is not updated. This results in infuriating lack of resolution of some hosts after DHCP lease acquire (if the hosts was not there in the zone file in the first place, or it leads to the old address).



Permissions look like this:



-rw-r--r-- 1 bind bind 691 Dec 10 11:06 myzone.zone
-rw-r--r-- 1 bind bind 765 Dec 10 12:17 myzone.zone.jnl


It should not be permissions problem though since the zone does (often) get updated via DHCP/DDNS?



What is the source of this problem and a fix for it?



OS: debian 7.2 x64, stable release bind and isc-dhcp server.







linux debian bind ddns dhcpd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 10 '13 at 11:22









LetMeSOThat4ULetMeSOThat4U

4401415




4401415







  • 1





    I don't understand, even if the change is only in the jnl file, it should always resolve correctly. Maybe your problem is somewhere else.

    – faker
    Dec 10 '13 at 13:16












  • 1





    I don't understand, even if the change is only in the jnl file, it should always resolve correctly. Maybe your problem is somewhere else.

    – faker
    Dec 10 '13 at 13:16







1




1





I don't understand, even if the change is only in the jnl file, it should always resolve correctly. Maybe your problem is somewhere else.

– faker
Dec 10 '13 at 13:16





I don't understand, even if the change is only in the jnl file, it should always resolve correctly. Maybe your problem is somewhere else.

– faker
Dec 10 '13 at 13:16










2 Answers
2






active

oldest

votes


















6














I've looked at this before.

Restarting named will flush updated data from .jnl files back to the zone file, but there's also another way..



rndc freeze <zone> but this will disable DDNS, so it should be followed with a
rndc thaw <zone> to re-enable it, and should clear up the .jnl files.



There's apparently a rndc sync in Bind 9.9.






share|improve this answer























  • Thanks! it works, but am I limited to running rndc freeze/from cron? Although not very probable, at some point DDNS will hit a split second when update is not available bc of this. What then? I could stop DHCPD, do rndc freeze, rndc thatw and then start DHCPD but...

    – LetMeSOThat4U
    Dec 10 '13 at 13:00











  • Why not run freeze/thaw at a time when it's improbable that DHCPd will be handing out addresses? If they're for clients, then perhaps a time when everyone's asleep?.. OR.. tail the dhcp output log file, and don't freeze it if it's just received a DHCPREQUEST packet?

    – Tom O'Connor
    Dec 10 '13 at 13:50


















7














With bind 9.9, "rndc sync" is not enough; you also need the "-clean" flag:




sync [-clean] [zone [class [view]]]

Sync changes in the journal file for a dynamic zone to the master file. If the "-clean" option is specified, the journal file is also removed. If no zone is specified, then all zones are synced.






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f560326%2fddns-bind-and-leftover-jnl-files%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    I've looked at this before.

    Restarting named will flush updated data from .jnl files back to the zone file, but there's also another way..



    rndc freeze <zone> but this will disable DDNS, so it should be followed with a
    rndc thaw <zone> to re-enable it, and should clear up the .jnl files.



    There's apparently a rndc sync in Bind 9.9.






    share|improve this answer























    • Thanks! it works, but am I limited to running rndc freeze/from cron? Although not very probable, at some point DDNS will hit a split second when update is not available bc of this. What then? I could stop DHCPD, do rndc freeze, rndc thatw and then start DHCPD but...

      – LetMeSOThat4U
      Dec 10 '13 at 13:00











    • Why not run freeze/thaw at a time when it's improbable that DHCPd will be handing out addresses? If they're for clients, then perhaps a time when everyone's asleep?.. OR.. tail the dhcp output log file, and don't freeze it if it's just received a DHCPREQUEST packet?

      – Tom O'Connor
      Dec 10 '13 at 13:50















    6














    I've looked at this before.

    Restarting named will flush updated data from .jnl files back to the zone file, but there's also another way..



    rndc freeze <zone> but this will disable DDNS, so it should be followed with a
    rndc thaw <zone> to re-enable it, and should clear up the .jnl files.



    There's apparently a rndc sync in Bind 9.9.






    share|improve this answer























    • Thanks! it works, but am I limited to running rndc freeze/from cron? Although not very probable, at some point DDNS will hit a split second when update is not available bc of this. What then? I could stop DHCPD, do rndc freeze, rndc thatw and then start DHCPD but...

      – LetMeSOThat4U
      Dec 10 '13 at 13:00











    • Why not run freeze/thaw at a time when it's improbable that DHCPd will be handing out addresses? If they're for clients, then perhaps a time when everyone's asleep?.. OR.. tail the dhcp output log file, and don't freeze it if it's just received a DHCPREQUEST packet?

      – Tom O'Connor
      Dec 10 '13 at 13:50













    6












    6








    6







    I've looked at this before.

    Restarting named will flush updated data from .jnl files back to the zone file, but there's also another way..



    rndc freeze <zone> but this will disable DDNS, so it should be followed with a
    rndc thaw <zone> to re-enable it, and should clear up the .jnl files.



    There's apparently a rndc sync in Bind 9.9.






    share|improve this answer













    I've looked at this before.

    Restarting named will flush updated data from .jnl files back to the zone file, but there's also another way..



    rndc freeze <zone> but this will disable DDNS, so it should be followed with a
    rndc thaw <zone> to re-enable it, and should clear up the .jnl files.



    There's apparently a rndc sync in Bind 9.9.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Dec 10 '13 at 11:28









    Tom O'ConnorTom O'Connor

    24.9k962138




    24.9k962138












    • Thanks! it works, but am I limited to running rndc freeze/from cron? Although not very probable, at some point DDNS will hit a split second when update is not available bc of this. What then? I could stop DHCPD, do rndc freeze, rndc thatw and then start DHCPD but...

      – LetMeSOThat4U
      Dec 10 '13 at 13:00











    • Why not run freeze/thaw at a time when it's improbable that DHCPd will be handing out addresses? If they're for clients, then perhaps a time when everyone's asleep?.. OR.. tail the dhcp output log file, and don't freeze it if it's just received a DHCPREQUEST packet?

      – Tom O'Connor
      Dec 10 '13 at 13:50

















    • Thanks! it works, but am I limited to running rndc freeze/from cron? Although not very probable, at some point DDNS will hit a split second when update is not available bc of this. What then? I could stop DHCPD, do rndc freeze, rndc thatw and then start DHCPD but...

      – LetMeSOThat4U
      Dec 10 '13 at 13:00











    • Why not run freeze/thaw at a time when it's improbable that DHCPd will be handing out addresses? If they're for clients, then perhaps a time when everyone's asleep?.. OR.. tail the dhcp output log file, and don't freeze it if it's just received a DHCPREQUEST packet?

      – Tom O'Connor
      Dec 10 '13 at 13:50
















    Thanks! it works, but am I limited to running rndc freeze/from cron? Although not very probable, at some point DDNS will hit a split second when update is not available bc of this. What then? I could stop DHCPD, do rndc freeze, rndc thatw and then start DHCPD but...

    – LetMeSOThat4U
    Dec 10 '13 at 13:00





    Thanks! it works, but am I limited to running rndc freeze/from cron? Although not very probable, at some point DDNS will hit a split second when update is not available bc of this. What then? I could stop DHCPD, do rndc freeze, rndc thatw and then start DHCPD but...

    – LetMeSOThat4U
    Dec 10 '13 at 13:00













    Why not run freeze/thaw at a time when it's improbable that DHCPd will be handing out addresses? If they're for clients, then perhaps a time when everyone's asleep?.. OR.. tail the dhcp output log file, and don't freeze it if it's just received a DHCPREQUEST packet?

    – Tom O'Connor
    Dec 10 '13 at 13:50





    Why not run freeze/thaw at a time when it's improbable that DHCPd will be handing out addresses? If they're for clients, then perhaps a time when everyone's asleep?.. OR.. tail the dhcp output log file, and don't freeze it if it's just received a DHCPREQUEST packet?

    – Tom O'Connor
    Dec 10 '13 at 13:50













    7














    With bind 9.9, "rndc sync" is not enough; you also need the "-clean" flag:




    sync [-clean] [zone [class [view]]]

    Sync changes in the journal file for a dynamic zone to the master file. If the "-clean" option is specified, the journal file is also removed. If no zone is specified, then all zones are synced.






    share|improve this answer



























      7














      With bind 9.9, "rndc sync" is not enough; you also need the "-clean" flag:




      sync [-clean] [zone [class [view]]]

      Sync changes in the journal file for a dynamic zone to the master file. If the "-clean" option is specified, the journal file is also removed. If no zone is specified, then all zones are synced.






      share|improve this answer

























        7












        7








        7







        With bind 9.9, "rndc sync" is not enough; you also need the "-clean" flag:




        sync [-clean] [zone [class [view]]]

        Sync changes in the journal file for a dynamic zone to the master file. If the "-clean" option is specified, the journal file is also removed. If no zone is specified, then all zones are synced.






        share|improve this answer













        With bind 9.9, "rndc sync" is not enough; you also need the "-clean" flag:




        sync [-clean] [zone [class [view]]]

        Sync changes in the journal file for a dynamic zone to the master file. If the "-clean" option is specified, the journal file is also removed. If no zone is specified, then all zones are synced.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 14 '14 at 21:53









        Craig LeresCraig Leres

        7112




        7112



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f560326%2fddns-bind-and-leftover-jnl-files%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

            Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

            Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020