Add url forwarding data

master
Anton Smirnov 2 years ago
parent 48b9e13dfc
commit 2a66bb459b
  1. 4
      data/services.yml
  2. 10
      source/index.html.haml
  3. 3
      source/services.html.haml

@ -3,6 +3,7 @@ freenom:
url: https://www.freenom.com/
custom_ns: true
record_types: [A, AAAA, CNAME, LOC, MX, NAPTR, RP, TXT]
forwarding: true
nic.eu.org:
name: EU.org
@ -29,10 +30,11 @@ venez:
name: venez.fr
url: https://www.venez.fr/
record_types: [A]
forwarding: true
notes:
Regional restrictions.
Only french interface.
Records can only be set after a week.
IP records can only be set after a week.
nom.za:
name: nom.za

@ -46,6 +46,7 @@
%tr
%th Zone
%th NS Records
%th URL forwarding
%th External DNS
%th Service
%tbody
@ -53,14 +54,23 @@
- zone = data.zones[name]
- service = data.services[zone.service]
%tr
/ Zone
%td= name
/ NS Records
- if service.record_types
%td= service.record_types.join(', ')
- else
%td
%i none (only external servers)
/ URL forwarding
- if service.forwarding
%td.yes ✓
- else
%td.no ✗
/ External DNS
- if service.custom_ns
%td.yes ✓
- else
%td.no ✗
/ Service
%td= link_to service.name, "/services/#{zone.service}.html"

@ -16,6 +16,9 @@
- else
%td
%i none (only external servers)
%tr
%td URL forwarding
%td= service.forwarding ? 'yes' : 'no'
%tr
%td External DNS servers
%td= service.custom_ns ? 'yes' : 'no'

Loading…
Cancel
Save