unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37320] [PATCH] hydra: dns: Add "data" to point at milano-guix-1.
@ 2019-09-06 11:44 Christopher Baines
  2019-09-06 13:10 ` Christopher Baines
  2019-09-06 22:04 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Christopher Baines @ 2019-09-06 11:44 UTC (permalink / raw)
  To: 37320

* hydra/modules/sysadmin/dns.scm (milano-guix-1-ip4): New variable.
(guix.gnu.org.zone): Add "data" to point at milano-guix-1, and update
the serial.
---
 hydra/modules/sysadmin/dns.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hydra/modules/sysadmin/dns.scm b/hydra/modules/sysadmin/dns.scm
index 164caf1..ef1f265 100644
--- a/hydra/modules/sysadmin/dns.scm
+++ b/hydra/modules/sysadmin/dns.scm
@@ -47,6 +47,7 @@
 (define hydra-ip4 "18.4.89.46")
 (define bayfront-ip4 "185.233.100.56")
 (define berlin-ip4 "141.80.181.40")
+(define milano-guix-1-ip4 "159.149.133.203")
 
 (define-zone-entries guix.gnu.org.zone
 ;; Name       TTL Class Type Data
@@ -89,6 +90,7 @@
   ("issues"   ""  "IN"  "A"      berlin-ip4)
   ("logs"     ""  "IN"  "A"      bayfront-ip4)
   ("ci"       ""  "IN"  "A"  berlin-ip4)
+  ("data"     ""  "IN"  "A"      milano-guix-1-ip4)
 
   ;; This record is required in order to prove to Amazon ACM that we
   ;; own the domain.  As long as it exists, ACM will automatically
@@ -102,4 +104,4 @@
     (zone (zone-file
             (origin "guix.gnu.org")
             (entries guix.gnu.org.zone)
-            (serial 2019090201)))))
+            (serial 2019090601)))))
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#37320] [PATCH] hydra: dns: Add "data" to point at milano-guix-1.
  2019-09-06 11:44 [bug#37320] [PATCH] hydra: dns: Add "data" to point at milano-guix-1 Christopher Baines
@ 2019-09-06 13:10 ` Christopher Baines
  2019-09-06 22:04 ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Christopher Baines @ 2019-09-06 13:10 UTC (permalink / raw)
  To: guix-sysadmin; +Cc: 37320

[-- Attachment #1: Type: text/plain, Size: 2043 bytes --]

Now that milano-guix-1 is back online, I'm interested in sorting out
configuration for nginx, as well as letsencrypt for a TLS certificate.

For that, it's probably useful to think about the DNS configuration. I
think that this is something that has been discussed a bit in the past,
but at that time there were some improvements I wanted to make before
making anything more public.

But, over the last month I've fixed some of the problems I knew about
and added new features, so I'm happier at this point with it being more
widely available.

So, I've started looking at setting up the DNS configuration, and I've
sent this patch which I think is the relevant change in the maintenance
repository.

Thanks,

Chris


Christopher Baines <mail@cbaines.net> writes:

> * hydra/modules/sysadmin/dns.scm (milano-guix-1-ip4): New variable.
> (guix.gnu.org.zone): Add "data" to point at milano-guix-1, and update
> the serial.
> ---
>  hydra/modules/sysadmin/dns.scm | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/hydra/modules/sysadmin/dns.scm b/hydra/modules/sysadmin/dns.scm
> index 164caf1..ef1f265 100644
> --- a/hydra/modules/sysadmin/dns.scm
> +++ b/hydra/modules/sysadmin/dns.scm
> @@ -47,6 +47,7 @@
>  (define hydra-ip4 "18.4.89.46")
>  (define bayfront-ip4 "185.233.100.56")
>  (define berlin-ip4 "141.80.181.40")
> +(define milano-guix-1-ip4 "159.149.133.203")
>
>  (define-zone-entries guix.gnu.org.zone
>  ;; Name       TTL Class Type Data
> @@ -89,6 +90,7 @@
>    ("issues"   ""  "IN"  "A"      berlin-ip4)
>    ("logs"     ""  "IN"  "A"      bayfront-ip4)
>    ("ci"       ""  "IN"  "A"  berlin-ip4)
> +  ("data"     ""  "IN"  "A"      milano-guix-1-ip4)
>
>    ;; This record is required in order to prove to Amazon ACM that we
>    ;; own the domain.  As long as it exists, ACM will automatically
> @@ -102,4 +104,4 @@
>      (zone (zone-file
>              (origin "guix.gnu.org")
>              (entries guix.gnu.org.zone)
> -            (serial 2019090201)))))
> +            (serial 2019090601)))))

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#37320] [PATCH] hydra: dns: Add "data" to point at milano-guix-1.
  2019-09-06 11:44 [bug#37320] [PATCH] hydra: dns: Add "data" to point at milano-guix-1 Christopher Baines
  2019-09-06 13:10 ` Christopher Baines
@ 2019-09-06 22:04 ` Ludovic Courtès
  2019-09-07 19:29   ` bug#37320: " Christopher Baines
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2019-09-06 22:04 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 37320

Hi Christopher,

Christopher Baines <mail@cbaines.net> skribis:

> * hydra/modules/sysadmin/dns.scm (milano-guix-1-ip4): New variable.
> (guix.gnu.org.zone): Add "data" to point at milano-guix-1, and update
> the serial.

LGTM!

> Now that milano-guix-1 is back online, I'm interested in sorting out
> configuration for nginx, as well as letsencrypt for a TLS certificate.
>
> For that, it's probably useful to think about the DNS configuration. I
> think that this is something that has been discussed a bit in the past,
> but at that time there were some improvements I wanted to make before
> making anything more public.
>
> But, over the last month I've fixed some of the problems I knew about
> and added new features, so I'm happier at this point with it being more
> widely available.
>
> So, I've started looking at setting up the DNS configuration, and I've
> sent this patch which I think is the relevant change in the maintenance
> repository.

Awesome.

You can also add yourself an account in bayfront.scm (when the DNS is
hosted) so you can reconfigure, or I or someone else can reconfigure for
you.

Let us know!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#37320: [PATCH] hydra: dns: Add "data" to point at milano-guix-1.
  2019-09-06 22:04 ` Ludovic Courtès
@ 2019-09-07 19:29   ` Christopher Baines
  2019-09-08 20:03     ` [bug#37320] " Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Baines @ 2019-09-07 19:29 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 37320-done

[-- Attachment #1: Type: text/plain, Size: 1543 bytes --]


Ludovic Courtès <ludo@gnu.org> writes:

> Hi Christopher,
>
> Christopher Baines <mail@cbaines.net> skribis:
>
>> * hydra/modules/sysadmin/dns.scm (milano-guix-1-ip4): New variable.
>> (guix.gnu.org.zone): Add "data" to point at milano-guix-1, and update
>> the serial.
>
> LGTM!

Great, I've pushed this change now.

>> Now that milano-guix-1 is back online, I'm interested in sorting out
>> configuration for nginx, as well as letsencrypt for a TLS certificate.
>>
>> For that, it's probably useful to think about the DNS configuration. I
>> think that this is something that has been discussed a bit in the past,
>> but at that time there were some improvements I wanted to make before
>> making anything more public.
>>
>> But, over the last month I've fixed some of the problems I knew about
>> and added new features, so I'm happier at this point with it being more
>> widely available.
>>
>> So, I've started looking at setting up the DNS configuration, and I've
>> sent this patch which I think is the relevant change in the maintenance
>> repository.
>
> Awesome.
>
> You can also add yourself an account in bayfront.scm (when the DNS is
> hosted) so you can reconfigure, or I or someone else can reconfigure for
> you.
>
> Let us know!

So I've pushed the DNS change to the maintenance repository, and also
added another change to for bayfront access.

I guess someone will need to reconfigure bayfront before I can access
it, there's no rush though, so no pressure.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#37320] [PATCH] hydra: dns: Add "data" to point at milano-guix-1.
  2019-09-07 19:29   ` bug#37320: " Christopher Baines
@ 2019-09-08 20:03     ` Ludovic Courtès
  2019-09-08 20:23       ` Christopher Baines
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2019-09-08 20:03 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 37320-done

Hi Chris,

Christopher Baines <mail@cbaines.net> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Hi Christopher,
>>
>> Christopher Baines <mail@cbaines.net> skribis:
>>
>>> * hydra/modules/sysadmin/dns.scm (milano-guix-1-ip4): New variable.
>>> (guix.gnu.org.zone): Add "data" to point at milano-guix-1, and update
>>> the serial.
>>
>> LGTM!
>
> Great, I've pushed this change now.

I’ve reconfigured bayfront now, and data.guix.gnu.org resolves fine.

I guess we’ll need a bit of nginx magic somewhere so we can access it on
the standard http/https ports?

Besides, you should now be able to log in on bayfront.  I’ve sent you in
a separate message an initial password (which you should change) so you
can sudo if needed.  Please let people know on guix-sysadmin if you
reconfigure the machine or do something funny with it.  :-)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#37320] [PATCH] hydra: dns: Add "data" to point at milano-guix-1.
  2019-09-08 20:03     ` [bug#37320] " Ludovic Courtès
@ 2019-09-08 20:23       ` Christopher Baines
  0 siblings, 0 replies; 6+ messages in thread
From: Christopher Baines @ 2019-09-08 20:23 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 37320-done

[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]


Ludovic Courtès <ludo@gnu.org> writes:

> Hi Chris,
>
> Christopher Baines <mail@cbaines.net> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> Hi Christopher,
>>>
>>> Christopher Baines <mail@cbaines.net> skribis:
>>>
>>>> * hydra/modules/sysadmin/dns.scm (milano-guix-1-ip4): New variable.
>>>> (guix.gnu.org.zone): Add "data" to point at milano-guix-1, and update
>>>> the serial.
>>>
>>> LGTM!
>>
>> Great, I've pushed this change now.
>
> I’ve reconfigured bayfront now, and data.guix.gnu.org resolves fine.

Great, looks like it's working for me too :)

> I guess we’ll need a bit of nginx magic somewhere so we can access it on
> the standard http/https ports?

Yep, I've got some configuration I used for my server so I'm planning to
adapt that.

> Besides, you should now be able to log in on bayfront.  I’ve sent you in
> a separate message an initial password (which you should change) so you
> can sudo if needed.  Please let people know on guix-sysadmin if you
> reconfigure the machine or do something funny with it.  :-)

I can confirm that I can login, and that I've changed my password :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-09-08 20:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06 11:44 [bug#37320] [PATCH] hydra: dns: Add "data" to point at milano-guix-1 Christopher Baines
2019-09-06 13:10 ` Christopher Baines
2019-09-06 22:04 ` Ludovic Courtès
2019-09-07 19:29   ` bug#37320: " Christopher Baines
2019-09-08 20:03     ` [bug#37320] " Ludovic Courtès
2019-09-08 20:23       ` Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).