work
This commit is contained in:
parent
664f8defb9
commit
173e3f6476
|
@ -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:
|
|
@ -0,0 +1,12 @@
|
|||
package pancheri
|
||||
|
||||
const (
|
||||
RuleTypeA = "A"
|
||||
RuleTypeAAAA = "AAAA"
|
||||
RuleTypeCNAME = "CNAME"
|
||||
RuleTypeMX = "MX"
|
||||
RuleTypeTXT = "TXT"
|
||||
)
|
||||
|
||||
type Rule interface {
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue