-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.py
executable file
·96 lines (92 loc) · 1.68 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#!/usr/bin/env python3
DEFAULT_LABELS = [
'_amazonses',
'_autodiscover._tcp',
'_imap._tcp.privat',
'_jabber._tcp',
'_pop._tcp.privat',
'_sip._tls',
'_sipfederationtls._tcp',
'_xmpp-client._tcp',
'adsl',
'aktion',
'api',
'autodiscover',
'aws',
'bewerbung',
'blog',
'bremskerl.no-ip-biz',
'cdn',
'chat',
'china',
'cloud',
'cm._domainkey',
'cms',
'cms.bewerbung',
'companyconnect',
'confluence',
'coza',
'de',
'edm',
'email.mailgun',
'en',
'exchange',
'files',
'fr',
'ftp',
'gw',
'icee',
'images',
'img',
'international',
'jira',
'lyncdiscover',
'm',
'mail',
'mailgun',
'mobil',
'mobile',
'msoid',
'news',
'northernaccess',
'notfall',
'ns',
'owa',
'post',
'privat',
'rootserver',
'sdsl',
'seafile',
'sentry',
'sharepoint',
'sip',
'static',
'survey',
'teamdrive',
'teamviewer',
'uk',
'voip',
'vpn',
'webmail',
'www',
'www.bewerbung',
'www2',
]
DEFAULT_2NDLABELS = [
's1024._domainkey',
'_adsp._domainkey',
'_domainkey',
]
ZONE_TPL = """; {domainname}
$TTL 3600 ; Default TTL in secs(1 hour)
@ SOA ns1.d9t.de. domainmaster.d9t.de. (
{serial} ; Serial number yyyymmddvv
10800 ; Refresh (3, was 8 hours)
3600 ; Retry (1, was 2 hours)
604800 ; Expire (7 days)
3600 ;
)
@ NS ns1.d9t.de.
@ NS ns2.d9t.de.
"""
LINE_TPL = """{name:<20} IN {type:<7} {data}"""