Re: Nsupdate usage scenario

2016-05-04 Thread Alan Clegg
On 5/4/16, 4:27 PM, "/dev/rob0" wrote: >My personal recommendation: get over the idea of looking at zone >files; use "dig axfr example.com. | less". Let named manage and >serve the DNS data as it will. Comments can be included as

Re: Nsupdate usage scenario

2016-05-04 Thread /dev/rob0
On Wed, May 04, 2016 at 03:17:38PM -0400, Paul Kosinski wrote: > Interesting idea -- it never occurred to me that I could have > separate zone files for sub-domains. Every zone is a subzone of its parent zone. > So, if I had a tiny zone file for "dynamic.example.com" alone, and > a bigger zone

Re: Nsupdate usage scenario

2016-05-04 Thread Paul Kosinski
Interesting idea -- it never occurred to me that I could have separate zone files for sub-domains. So, if I had a tiny zone file for "dynamic.example.com" alone, and a bigger zone file for all the other stuff for "example.com", could I be *sure* that nsupdate would *only* modify the tiny file,

Re: Nsupdate usage scenario

2016-05-03 Thread Tony Finch
Paul Kosinski wrote: > Except for this single dynamic IP address, the zone file is maintained > by hand with a text editor, so rearranging it into an arbitrary order > would make hand maintenance much more difficult. > > If there is a way to have nsupdate preserve the original

Re: Nsupdate usage scenario

2016-05-02 Thread Matthew Pounsett
On 2 May 2016 at 16:38, wrote: > > > On Mon, May 2, 2016, at 12:15 PM, Jeremy C. Reed wrote: > > What about using a specific zone file just for the purpose of the single > > A record you want to maintain using dynamic updates? > > Well, this is a timely idea for another

Re: Nsupdate usage scenario

2016-05-02 Thread jasonsu
On Mon, May 2, 2016, at 12:15 PM, Jeremy C. Reed wrote: > What about using a specific zone file just for the purpose of the single > A record you want to maintain using dynamic updates? Well, this is a timely idea for another issue I've been working on ... Could you expand on this a bit?

Re: Nsupdate usage scenario

2016-05-02 Thread Jeremy C. Reed
Also for the generated master file, have a look at "masterfile-style full;" option. Have a look at the named-compilezone -j with -s full or -s relative so you can compare outputs. ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to

Re: Nsupdate usage scenario

2016-05-02 Thread Jeremy C. Reed
What about using a specific zone file just for the purpose of the single A record you want to maintain using dynamic updates? ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list

Nsupdate usage scenario

2016-05-02 Thread Paul Kosinski
I was trying to use nsupdate to automatically update a single A record in our domain to its latest dynamic, but public, IP address. Although it did indeed rewrite the zone file to reflect the new IP address, it also rearranged all the entries in the file into seemingly random order (maybe sorted