Re: [pfSense] bind DNS question

2016-10-04 Thread Larry Rosenman

On 2016-10-04 11:24, Satish Patel wrote:

Yes.. when i checked jnl file contents it has many entries but not a
single reflected to DB file.

One more question. if i have some static entries then i can update
them using WEB GUI right? or should i use freeze and thaw option with
rndc ?


not sure.  This is a pfSense question :(



On Tue, Oct 4, 2016 at 12:21 PM, Larry Rosenman  wrote:

On 2016-10-04 11:19, Satish Patel wrote:


Sorry for late reply but very weird happened.. I used following 
command


rndc sync -clean

it deleted jnl file but didn't update any single entry on .DB file. 
is

that what it does?



it should have updated the live db file..
(I don't use bind on my pfSense boxen, but do use it on my freeBSD 
host. )

are you sure you don't see the changes?







On Fri, Sep 23, 2016 at 1:43 PM, Larry Rosenman  
wrote:


On 2016-09-23 12:24, Satish Patel wrote:



Thanks!

Even after restarting named data didn't move from .jnl file to 
zone.DB

file. any other stuff i should check ?


rndc sync:
sync [-clean]   Dump changes to all dynamic zones to disk, and 
optionally

remove their journal files.
  sync [-clean] zone [class [view]]
Dump a single zone's changes to disk, and optionally
remove its journal file.


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281



--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] bind DNS question

2016-10-04 Thread Satish Patel
Yes.. when i checked jnl file contents it has many entries but not a
single reflected to DB file.

One more question. if i have some static entries then i can update
them using WEB GUI right? or should i use freeze and thaw option with
rndc ?

On Tue, Oct 4, 2016 at 12:21 PM, Larry Rosenman  wrote:
> On 2016-10-04 11:19, Satish Patel wrote:
>>
>> Sorry for late reply but very weird happened.. I used following command
>>
>> rndc sync -clean
>>
>> it deleted jnl file but didn't update any single entry on .DB file. is
>> that what it does?
>
>
> it should have updated the live db file..
> (I don't use bind on my pfSense boxen, but do use it on my freeBSD host. )
> are you sure you don't see the changes?
>
>
>
>>
>>
>>
>> On Fri, Sep 23, 2016 at 1:43 PM, Larry Rosenman  wrote:
>>>
>>> On 2016-09-23 12:24, Satish Patel wrote:


 Thanks!

 Even after restarting named data didn't move from .jnl file to zone.DB
 file. any other stuff i should check ?

>>> rndc sync:
>>> sync [-clean]   Dump changes to all dynamic zones to disk, and optionally
>>> remove their journal files.
>>>   sync [-clean] zone [class [view]]
>>> Dump a single zone's changes to disk, and optionally
>>> remove its journal file.
>>>
>>>
>>> --
>>> Larry Rosenman http://www.lerctr.org/~ler
>>> Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
>>> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] bind DNS question

2016-10-04 Thread Larry Rosenman

On 2016-10-04 11:19, Satish Patel wrote:

Sorry for late reply but very weird happened.. I used following command

rndc sync -clean

it deleted jnl file but didn't update any single entry on .DB file. is
that what it does?


it should have updated the live db file..
(I don't use bind on my pfSense boxen, but do use it on my freeBSD host. 
)

are you sure you don't see the changes?






On Fri, Sep 23, 2016 at 1:43 PM, Larry Rosenman  wrote:

On 2016-09-23 12:24, Satish Patel wrote:


Thanks!

Even after restarting named data didn't move from .jnl file to 
zone.DB

file. any other stuff i should check ?


rndc sync:
sync [-clean]   Dump changes to all dynamic zones to disk, and 
optionally

remove their journal files.
  sync [-clean] zone [class [view]]
Dump a single zone's changes to disk, and optionally
remove its journal file.


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] bind DNS question

2016-10-04 Thread Satish Patel
Sorry for late reply but very weird happened.. I used following command

rndc sync -clean

it deleted jnl file but didn't update any single entry on .DB file. is
that what it does?



On Fri, Sep 23, 2016 at 1:43 PM, Larry Rosenman  wrote:
> On 2016-09-23 12:24, Satish Patel wrote:
>>
>> Thanks!
>>
>> Even after restarting named data didn't move from .jnl file to zone.DB
>> file. any other stuff i should check ?
>>
> rndc sync:
> sync [-clean]   Dump changes to all dynamic zones to disk, and optionally
> remove their journal files.
>   sync [-clean] zone [class [view]]
> Dump a single zone's changes to disk, and optionally
> remove its journal file.
>
>
> --
> Larry Rosenman http://www.lerctr.org/~ler
> Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
> US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] bind DNS question

2016-09-23 Thread Larry Rosenman

On 2016-09-23 12:24, Satish Patel wrote:

Thanks!

Even after restarting named data didn't move from .jnl file to zone.DB
file. any other stuff i should check ?


rndc sync:
sync [-clean]   Dump changes to all dynamic zones to disk, and optionally
remove their journal files.
  sync [-clean] zone [class [view]]
Dump a single zone's changes to disk, and optionally
remove its journal file.


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] bind DNS question

2016-09-23 Thread Satish Patel
Thanks!

Even after restarting named data didn't move from .jnl file to zone.DB
file. any other stuff i should check ?

On Thu, Sep 22, 2016 at 3:02 PM, Steve Yates  wrote:
> It will eventually be stored in the .db but not immediately.
>
> http://serverfault.com/questions/560326/ddns-bind-and-leftover-jnl-files
>
> Before you get worried about the question, read comment "...even if the 
> change is only in the jnl file, it should always resolve correctly."
>
> Also, " Restarting named will flush updated data from .jnl files back to the 
> zone file."
>
> --
>
> Steve Yates
> ITS, Inc.
>
> -Original Message-
> From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of Satish Patel
> Sent: Thursday, September 22, 2016 1:55 PM
> To: m...@fuckaround.org; pfSense Support and Discussion Mailing List 
> 
> Subject: Re: [pfSense] bind DNS question
>
> Does that means dynamic update will stored in Journal file right? it won't be 
> visible in Zone.DB file
>
> On Thu, Sep 22, 2016 at 2:35 PM, Pol Hallen  wrote:
>>> Does dynamic DNS stored in .jnl file?
>>
>>
>> It's a journal file: The journal file is used not only for replaying
>> updates not yet committed in the zone file, but also to provide the
>> data for incremental zone transfers (IXFR).
>>
>> Pol
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] bind DNS question

2016-09-22 Thread Steve Yates
It will eventually be stored in the .db but not immediately.

http://serverfault.com/questions/560326/ddns-bind-and-leftover-jnl-files

Before you get worried about the question, read comment "...even if the change 
is only in the jnl file, it should always resolve correctly."

Also, " Restarting named will flush updated data from .jnl files back to the 
zone file."

--

Steve Yates
ITS, Inc.

-Original Message-
From: List [mailto:list-boun...@lists.pfsense.org] On Behalf Of Satish Patel
Sent: Thursday, September 22, 2016 1:55 PM
To: m...@fuckaround.org; pfSense Support and Discussion Mailing List 

Subject: Re: [pfSense] bind DNS question

Does that means dynamic update will stored in Journal file right? it won't be 
visible in Zone.DB file

On Thu, Sep 22, 2016 at 2:35 PM, Pol Hallen  wrote:
>> Does dynamic DNS stored in .jnl file?
>
>
> It's a journal file: The journal file is used not only for replaying 
> updates not yet committed in the zone file, but also to provide the 
> data for incremental zone transfers (IXFR).
>
> Pol
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] bind DNS question

2016-09-22 Thread Satish Patel
Does that means dynamic update will stored in Journal file right? it
won't be visible in Zone.DB file

On Thu, Sep 22, 2016 at 2:35 PM, Pol Hallen  wrote:
>> Does dynamic DNS stored in .jnl file?
>
>
> It's a journal file: The journal file is used not only for replaying updates
> not yet committed in the zone file, but also to provide the data for
> incremental zone transfers (IXFR).
>
> Pol
> ___
> pfSense mailing list
> https://lists.pfsense.org/mailman/listinfo/list
> Support the project with Gold! https://pfsense.org/gold
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


Re: [pfSense] bind DNS question

2016-09-22 Thread Pol Hallen

Does dynamic DNS stored in .jnl file?


It's a journal file: The journal file is used not only for replaying 
updates not yet committed in the zone file, but also to provide the data 
for incremental zone transfers (IXFR).


Pol
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold


[pfSense] bind DNS question

2016-09-22 Thread Satish Patel
I have setting up DHCP/DDNS on pfsense and its working fine but i am
seeing two file in DNS directory at /cf/named/

example.com.DB
example.com.jnl

Whenever DHCP gives new IP to client it send hostname to DDNS for
register but i am not seeing that entry in example.com.DB zone file.
Does dynamic DNS stored in .jnl file?
___
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold