Allegedly, on or about 17 October 2018, Mike Wright sent:
I have a set of dns zone text files in "bind" format. On
the fourth
line there is a 10 digit timestamp (ignoring white space, the first
field). There is no way to predetermine the value so search and
replace by value is a no go and seems to require some positional
approach such as "line 4, first 10 digit field".
Do you care what the value *was*? If not, find the line, and replace
the entire line, simply setting the serial number to a new value.
e.g. year+month+day+hour+minute+second
DNS serial numbers merely have to be greater than the prior value to be
paid attention to. If you use that technique, it's virtually
guaranteed.
NB: if more than one thing changes serial numbers using this method,
pay attention to timezones (for the generated numbers) and get
everything to generate GMT/UTC derived ones.
--
[tim@localhost ~]$ uname -rsvp
Linux 4.16.11-100.fc26.x86_64 #1 SMP Tue May 22 20:02:12 UTC 2018 x86_64
Boilerplate: All mail to my mailbox is automatically deleted.
There is no point trying to privately email me, I only get to see
the messages posted to the mailing list.
Television should really come with an intelligence knob. I've tried
adjusting the brightness, but it didn't help.