Up to Main Index                          Up to Journal for February, 2024

                    JOURNAL FOR SUNDAY 25TH FEBRUARY, 2024
______________________________________________________________________________

SUBJECT: Record @ref now on the public dev branch
   DATE: Sun 25 Feb 16:39:13 GMT 2024

People have been asking “Where are the record @ref commits?”. I did said they
should be available on the public dev branch “…within the next few days” last
time. I really shouldn’t make promises like that :(

It’s taken me a whole week to get the commits out. Mainly due to still having
my head in the clouds[1] :/ Anyway, the commits are now out on the public dev
branch and you can use record @ref in your zone files. For example:


    %%
        Ref: ROCK @SHORT_DEFAULTS

    This is a rock...
    %%
        Ref: SHORT_DEFAULTS
    Cleanup: AFTER→2m30s JITTER→30s
      Reset: AFTER→2m30s JITTER→30s
    %%


Here ROCK has a record @ref, on the REF field, of ‘@SHORT_DEFAULTS’. This
causes fields from the SHORT_DEFAULTS record, that are absent in the ROCK
record, to be copied over. After processing this would produce:


    %%
        Ref: ROCK
    Cleanup: AFTER→2m30s JITTER→30s
      Reset: AFTER→2m30s JITTER→30s

    This is a rock...
    %%


A REF field may specify zero or more record @ref. Referenced records may
themselves specify record @ref or field @ref. Record @ref are resolved before
any field @ref.

The documentation in docs/zone-files.txt has been updated to cover the new
record @ref, with plenty of examples.

Next up on the list are include files. I’m not going to guess at how long that
will take me to code up and publish :(

--
Diddymus

  [1] Mainly Google Cloud Platform (GPC) and some Amazon Web Services (AWS).


  Up to Main Index                          Up to Journal for February, 2024