293 Reload DHCP... |
293 Reload DHCP... |
294 Reload DHCP |
294 Reload DHCP |
295 isc-dhcp-server stop/waiting |
295 isc-dhcp-server stop/waiting |
296 isc-dhcp-server start/running, process 775 |
296 isc-dhcp-server start/running, process 775 |
297 |
297 |
|
298 Use `-n` to enable noop mode and preview changes before updating: |
|
299 |
|
300 sed -i s/quux/quux2/ etc/hosts/asdf.test && ./bin/update -C -n |
|
301 Commit... |
|
302 /home/tjmartti/pvl/pvl-hosts: skip commit |
|
303 Using local unix time for uncommited changes: 1425380558 |
|
304 Updating forward host zones... |
|
305 var/zones/forward/test: Generating forward hosts zone: etc/zones/forward/test |
|
306 --- var/zones/forward/test 2015-03-03 12:55:53.480735624 +0200 |
|
307 +++ var/zones/forward/test.new 2015-03-03 13:02:38.708732551 +0200 |
|
308 @@ -2,2 +2,2 @@ |
|
309 bar A 192.0.2.2 |
|
310 -quux.asdf A 192.0.2.5 |
|
311 +quux22.asdf A 192.0.2.5 |
|
312 Updating reverse host zones... |
|
313 var/zones/reverse/192.0.2: Generating reverse hosts zone: etc/zones/reverse/192.0.2 |
|
314 --- var/zones/reverse/192.0.2 2015-03-03 12:55:53.596735623 +0200 |
|
315 +++ var/zones/reverse/192.0.2.new 2015-03-03 13:02:38.832732550 +0200 |
|
316 @@ -2,2 +2,2 @@ |
|
317 2 PTR bar.test. |
|
318 -5 PTR quux.asdf.test. |
|
319 +5 PTR quux22.asdf.test. |
|
320 Updating DHCP hosts... |
|
321 Copying zone includes... |
|
322 Updating zones... |
|
323 Updating DHCP confs... |
|
324 Testing zones... |
|
325 Reload zones... |
|
326 Skip reload zones |
|
327 Testing DHCP... |
|
328 Reload DHCP... |
|
329 Skip reload DHCP |
|
330 |
|
331 Note that noop mode does not yet handle dependency chains, i.e. you will not see which zones get updated serials without also using `-F`, which force-updates all output files regardless of dependency states. |
|
332 |
298 ## Output zone files |
333 ## Output zone files |
299 |
334 |
300 The generated zone files can then be loaded by bind: |
335 The generated zone files can then be loaded by bind: |
301 |
336 |
302 $ cat var/zones/test |
337 $ cat var/zones/test |