This commit is contained in:
core 2023-10-01 21:38:23 -04:00
parent 664f8defb9
commit 173e3f6476
Signed by: core
GPG Key ID: FDBF740DADDCEECF
3 changed files with 47 additions and 0 deletions

11
e3t_example.yml Normal file
View File

@ -0,0 +1,11 @@
zone:
root: 'xe'
records:
# Personal devices
- type: 'A'
in: ['core-twr', 'twr.core']
out: '10.17.2.1'
- type: 'A'
in: ['terra-t61p0', 't61p0.terra']
out:

12
rule.go Normal file
View File

@ -0,0 +1,12 @@
package pancheri
const (
RuleTypeA = "A"
RuleTypeAAAA = "AAAA"
RuleTypeCNAME = "CNAME"
RuleTypeMX = "MX"
RuleTypeTXT = "TXT"
)
type Rule interface {
}

24
zone_example.yml Normal file
View File

@ -0,0 +1,24 @@
zone:
root: 'xe'
records:
- type: 'A'
domains: ['some_a']
ipv4: '1.2.3.4'
- type: 'AAAA'
domains: ['some_aaaa']
ipv6: 'bd1f:f314:5398:0e3d:b3e0:f427:73ef:60fb'
- type: 'CNAME'
domains: ['some_cname']
content: 'some_a'
- type: 'MX'
domains: ['some_mail_domain']
mailserver: 'mail.e3t.cc'
priority: 10
- type: 'TXT'
domains: ['some_txt']
content: |
WHY HELLO THERE MY FELLOW E3TEAMERS