[m-dev.] automated testing
Paul Bone
paul at bone.id.au
Fri Aug 3 13:35:26 AEST 2018
On Thu, Aug 02, 2018 at 02:13:51AM +0000, Julien Fischer wrote:
>
> Hi Peter,
>
> On Thu, 2 Aug 2018, Peter Wang wrote:
>
> >We now have a VPS running bootchecks of the latest ROTD in various
> >grades. The results can be viewed at:
> >
> > http://69.12.89.25/
>
> Cool, thanks for that!
>
> >You can click on the platform or grade names to get the raw log files.
> >
> >Can someone point a subdomain at that IP address? (We might spin up a
> >different instance in a month's time, but it seems to be working fine.)
>
> That someone would be Paul (who I believe still control the domain
> name).
I can do it, but anyone with root on the other VPS (deimos), I think that's
Peter, Julien and I. I've done it now:
FYI:
1. edit /etc/bind/mercurylang.org.zone
1a. Increment the serial number, or make it today's date followed by
two zeros, it just has to be larger than the previous one.
1b. Make whatever changes you need, in this case you're adding an A
record. The format is strange if you've not done it before.
I've added:
testing A 69.12.89.25
testing TXT "VPS running tests of ROTDs"
Whitespace can be sagnificant, eg this type of entry must start
in the first collumn. Some fields are implied, such as the TTL
which is given by "$TTL 4h" in the first line of the file but
can be changed. anyway, 4h is good.
2. Reload the zones.
$ sudo rndc reload
server reload successful
3. Looks good, but check the log file:
/var/log/daemon.log
I've cut out some less-important stuff for the example here.
Aug 3 13:26:03 deimos named[3287]: loading configuration from '/etc/bind/named.conf'
Aug 3 13:26:03 deimos named[3287]: reading built-in trusted keys from file '/etc/bind/bind.keys'
...
Aug 3 13:26:04 deimos named[3287]: reloading configuration succeeded
Aug 3 13:26:04 deimos named[3287]: reloading zones succeeded
...
Aug 3 13:26:04 deimos named[3287]: zone mercurylang.org/IN: loaded serial 2018080300
^ There, it's loaded the new version of the zone, we can see the new
serial number.
Aug 3 13:26:04 deimos named[3287]: all zones loaded
Aug 3 13:26:04 deimos named[3287]: running
Aug 3 13:26:04 deimos named[3287]: zone mercurylang.org/IN: sending notifies (serial 2018080300)
Aug 3 13:26:04 deimos named[3287]: client 71.19.157.138#54122 (mercurylang.org): transfer of 'mercurylang.org/IN': AXFR-style IXFR started
Aug 3 13:26:04 deimos named[3287]: client 71.19.157.138#54122 (mercurylang.org): transfer of 'mercurylang.org/IN': AXFR-style IXFR ended
Aug 3 13:26:04 deimos named[3287]: client 71.19.155.121#53073 (mercurylang.org): transfer of 'mercurylang.org/IN': AXFR-style IXFR started
Aug 3 13:26:04 deimos named[3287]: client 71.19.155.121#53073 (mercurylang.org): transfer of 'mercurylang.org/IN': AXFR-style IXFR ended
^ That's good too. it's told the other DNS servers that it's working
with that it has a new zone, they've asked for a copy, and its
provided it.
4. http://testing.mercurylang.org
I gave Peter and Julien a git repository of admin documentation. You can put
this in it as an example if you like.
Oh, and I control the domain name in the sense that I tell the registrar what
domain servers to use. But you, julien and I (I think) control the "deimos"
server, and I control "champagne" and my friend Emil controls the 3rd one.
Let me know if there's anything else, be aware that I don't always open
Mercury e-mail, or stay on the lists.
--
Paul Bone
http://paul.bone.id.au
More information about the developers
mailing list