Move ene to toulouse

Julien LepillerMon Apr 18 10:34:28+0200 2022

bf1e84c

Move ene to toulouse

modules/config/dns.scm

4343
4444
(define-zone-entries lepiller.eu.zone
4545
;; Name         TTL Class Type Data
46-
  ("ene"        ""  "IN"  "A"     ene-kb-ip4)
47-
  ("ene"        ""  "IN"  "AAAA"     ene-kb-ip6)
46+
  ("ene"        ""  "IN"  "A"     ene-toulouse-ip4)
47+
  ("ene"        ""  "IN"  "AAAA"     ene-toulouse-ip6)
4848
  ("hermes"     ""  "IN"  "A"     hermes-ip4)
4949
  ("hermes"     ""  "IN"  "AAAA"  hermes-ip6)
5050
  ("xana"       ""  "IN"  "A"     xana-ip4)

6464
  ("@"          ""  "IN"  "NS"    "ns2")
6565
  ("ns"         ""  "IN"  "A"     hermes-ip4)
6666
  ("ns"         ""  "IN"  "AAAA"  hermes-ip6)
67-
  ("ns2"        ""  "IN"  "A"     ene-kb-ip4)
68-
  ("ns2"        ""  "IN"  "AAAA"  ene-kb-ip6)
67+
  ("ns2"        ""  "IN"  "A"     ene-toulouse-ip4)
68+
  ("ns2"        ""  "IN"  "AAAA"  ene-toulouse-ip6)
6969
7070
  ("@"          ""  "IN"  "MX"    "10 courriel")
7171
  ("@"          ""  "IN"  "MX"    "50 b.courriel")

7373
  ("@"          ""  "IN"  "MX"    "60 5g33mrv2rp2onyvte2b3ge5a44fxansxwt4sajmmae7lgorxjgz5czad.onion.")
7474
  ("b.courriel" ""  "IN"  "A"     hermes-ip4)
7575
  ("b.courriel" ""  "IN"  "AAAA"  hermes-ip6)
76-
  ("courriel"   ""  "IN"  "A"     ene-kb-ip4)
77-
  ("courriel"   ""  "IN"  "AAAA"  ene-kb-ip6)
76+
  ("courriel"   ""  "IN"  "A"     ene-toulouse-ip4)
77+
  ("courriel"   ""  "IN"  "AAAA"  ene-toulouse-ip6)
7878
  ("imap"       ""  "IN"  "CNAME" "courriel")
7979
  ("smtp"       ""  "IN"  "CNAME" "b.courriel")
8080
  ("@"          ""  "IN"  "TXT"   "\"v=spf1 mx a ~all\"")

9696
(define ene
9797
  (knot-remote-configuration
9898
    (id "ene")
99-
    (address (list ene-kb-ip4 ene-kb-ip6))
99+
    (address (list ene-toulouse-ip4 ene-toulouse-ip6))
100100
    (key "lepiller-key")))
101101
102102
(define hermes

108108
(define master-acl
109109
  (knot-acl-configuration
110110
    (id "master-acl")
111-
    (address (list ene-kb-ip4 ene-kb-ip6 ene-rennes-ip4))
111+
    (address (list ene-toulouse-ip4 ene-toulouse-ip6))
112112
    (key '("lepiller-key"))
113113
    (action '(transfer))))
114114

modules/config/mail.scm

3636
3737
(define relays-file
3838
  (plain-file "other-relays"
39-
    (string-append ene-rennes-ip4 "\n" ene-kb-ip4 "\n" ene-kb-ip6 "\n"
39+
    (string-append ene-rennes-ip4 "\n" ene-toulouse-ip4 "\n" ene-toulouse-ip6 "\n"
4040
                   hermes-ip4 "\n" hermes-ip6 "\n" )))
4141
4242
(define blacklist-file

modules/data/dns.scm

2020
;;
2121
2222
(define-module (data dns)
23-
  #:export (ene-rennes-ip4 ene-kb-ip4 ene-kb-ip6
23+
  #:export (ene-rennes-ip4 ene-kb-ip4 ene-kb-ip6 ene-toulouse-ip4 ene-toulouse-ip6
2424
            hermes-ip4 hermes-ip6
2525
            xana-ip4))
2626

3030
(define ene-rennes-ip4 "79.91.200.80")
3131
(define ene-kb-ip4 "86.247.175.133")
3232
(define ene-kb-ip6 "2a01:cb04:717:4400:cf:5ff:fe81:68af")
33+
(define ene-toulouse-ip4 "77.146.233.46")
34+
(define ene-toulouse-ip6 "2a02:8435:942:f701:cf:5ff:fe81:68af")
3335
3436
(define xana-ip4 "62.210.81.154")